k8s篇-helm3安裝Jenkins

  • 安裝
helm repo add stable https://kubernetes-charts.storage.googleapis.com/
helm install jenkins stable/jenkins -n test --debug 
  • 卸載
helm delete jenkins --namespace test
  • 登錄(在登錄之前還要配ingress,詳見:https://blog.csdn.net/qq_35550345/article/details/104686325)
#獲取密碼
printf $(kubectl get secret --namespace management jenkins -o jsonpath="{.data.jenkins-admin-password}" | base64 --decode);echo
#用戶名默認爲admin
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章