Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 622 Bytes

kustomize.md

File metadata and controls

25 lines (14 loc) · 622 Bytes

Jenkins deployment with Kustomize

Motivation

Kept as is a good example to write manifests. See for example manifest/base/rbac.yaml which illustrates ServiceAccount, ClusterRole and ClusterRoleBinding.

Usage

  • Start jenkins
kubectl apply -k https://github.com/mborne/docker-devbox/jenkins/manifest/local-storage
  • Wait until jenkins is running : kubectl -n jenkins get pods -w

  • Get initial admin password :

kubectl -n jenkins exec -ti pod/jenkins-0 -- /bin/cat /var/jenkins_home/secrets/initialAdminPassword