sudo api install -y helm
helm repo add jenkinsci https://charts.jenkins.io
helm repo update
helm install jenkins jenkinsci/jenkin
kubectl logs sts/jenkins jenkins
kubectl port-forward svc/jenkins 8080:8080
Jenkins에 관리자 계정은 (admin
) 설정으로 k8s의 secret 오브젝트로 관리됩니다.
kubectl get secret jenkins \
-o jsonpath="{.data.jenkins-admin-password}" | base64 --decod && echo
kubectl edit secret jenkins