💻 Tech
With skaffold, you can also specify the ingress controller as part of the helm releases. For example, you might typically see these helm commands to install ingress controller.
helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update
helm install my-ingress ingress-nginx/ingress-nginx --namespace kube-system
Using skaffold.yaml, you can set it in the deployment process like the YAML snippet below so you won’t have to manually perform helm commands:
deploy:
helm:
releases:
- name: my-ingress
repo: https://kubernetes.github.io/ingress-nginx
remoteChart: ingress-nginx
namespace: kube-system
createNamespace: false
setValues:
controller.service.type: ClusterIP
wait: true