创建:
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
原文地址:https://www.cnblogs.com/kuku0223/p/9139033.html
时间: 2024-10-11 04:30:20