Jenkins service always pending on minikube

Viewed 2174

I installed minikube on local.

Dashboard is 192.168.99.100:30000

I installed Jenkins by helm:

$ helm install stable/jenkins

Then the service always pending:

$ kubectl get services --namespace=default -w wandering-buffoon-jenkins
NAME                        CLUSTER-IP   EXTERNAL-IP   PORT(S)                          AGE
wandering-buffoon-jenkins   10.0.0.153   <pending>     8080:31326/TCP,50000:31090/TCP   26m

Why? So can't use external-ip to access it.

2 Answers

Here is a single command for lazy people who do not want to create the separate config.yaml file

helm install --name jenkins --set Master.ServiceType=NodePort stable/jenkins

In case there are more than one option which you want to set, provide them as comma-separated

helm install --name jenkins --set Master.ServiceType=NodePort,Persistence.Enabled=false stable/jenkins

Also see the option available which you can set here. This is same as helm inspect command but more readable since available as a web page

Related