Home > Blockchain >  How to stop & exit jenkins from Kubernetes cluster
How to stop & exit jenkins from Kubernetes cluster

Time:02-11

I have installed Jenkins through Helm with below commands.

$ chart=jenkinsci/jenkins
$ helm install jenkins -n jenkins -f jenkins-values.yaml $chart

Now how do i stop & exit Jenkins completely from my kubernetes cluster?

# kubectl delete pod jenkins-0 -n jenkins
pod "jenkins-0" deleted

After delete pod command, still it creates new pod.

# kubectl get pods -n jenkins
NAME        READY   STATUS     RESTARTS   AGE
jenkins-0   0/2     Init:0/1   0          6s

CodePudding user response:

Since I have Jenkins installed through helm. So I have removed the pod and complete deployment inside my namespace using # helm uninstall jenkins -n jenkins.

  • Related