Deploying a sample Kubernetes application with Helm
In the previous chapter, we deployed the NGINX ingress controller using the following command:
$ kubectl create -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/I
If we want to install it using Helm, we need to perform the following tasks:
- Add the public stable repository to your Helm configuration:
$ helm repo add nginx-stable https://helm.nginx.com/stable
- Refresh the repository information:
$ helm repo update
- We can then show the charts in the repository:
$ helm search repo nginx-stable
- One of the charts will be
nginx-ingress
, which can be installed using the following command:$ helm install my-release nginx-stable/nginx-ingress
- The chart release can be viewed using either of these commands:
$ helm list $ helm history my-release
- You can also view the Kubernetes resources using the following command:
$ kubectl api-resources --verbs=list -o name | xargs -n 1 kubectl get --show-kind -l app...