As you see, your Kubernetes cluster is started. Verify it's ready for your use.
kubectl version && kubectl cluster-info && kubectl get nodes
Verify the Kubernetes cluster is empty.
kubectl get deployments,pods,services
The Helm package manager used for installing applications on Kubernetes is also available.
Install Kubeless Controller
A common Helm chart is predefined for installing Kubeless. Normally, popular charts appear in the curated Helm chart repository and there are plans to move Kubeless there. For now, this
repo add command will allow Helm to find the Kubeless chart:
helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com/
To install Kubeless onto Kubernetes apply this command:
helm install --name my-kubeless --namespace kubeless incubator/kubeless --set ui.enabled=true
As part of the installation there will be two Pods started in the new
kubeless namespace on your Kubernetes cluster.
- The Kubeless controller deployment will watch for function objects to be created.
- The Kubeless ui deployment serves up a browser based dashboard showing the functions
Observe the availability of each deployment as they progress from 0 to 1:
kubectl get deployments,pods --namespace kubeless
New functions can now be deployed to Kubeless.