I am trying to implement the Kubernetes service deployment using Kubernetes helm chart. Actually I am using Jenkins pipeline job for deployment. And Jenkins is installed out side of Kubernetes cluster. So If I am using Helm in the machine where Jenkins is installed , then can I use Helm deployment command inside on Jenkins pipeline job?
If I am calling "helm install" command inside one Jenkins pipeline job ? Does it deploy into remote Kubernetes cluster? Because I am installing Jenkins out side of Kubernetes cluster.
If I am calling "helm install" command inside one jenkins pipeline job ? Does it deploy into remote kubernetes cluster?
Yes. You need a ~/.kube/config
file, network access to the k8s API, kubectl
and helm
to make it work.
Here's a good read explaining helm https://next.nutanix.com/kubernetes-containers-30/tillerless-helm-on-nutanix-karbon-31334