kubernetes Helm基本操作
创建:
helm install --name demo --set Persistence.Enabled=false stable/jenkins
查看:
kubectl get po,svc -l app=demo-jenkins
得到jenkins密码:
printf $(kubectl get secret --namespace default demo-jenkins -o jsonpath="{.data.jenkins-admin-password}" | base64 --decode);echo
查看:
helm ls
删除:
helm delete demo --purge