Skip to content

Helm chart for deploying Jenkins with persisted storage on Azure Kubernetes Service

Notifications You must be signed in to change notification settings

marcel-dempers/kube-jenkins-azure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins on Kubernetes with Azure Persistance

Configure your cluster with helm

kubectl create -f ./prerequisites/helm-rbac.yaml
helm init --service-account tiller

Fill out parameters

Inside ./helm-charts there is a values.yaml that needs to be filled out. NOTE: Keep your sensitive secrets safe and do not check this into your source control!

Deploy the storage

cd helm-charts
helm install --name azure-storage azure-storage --values values.yaml --namespace jenkins 

Deploy Jenkins

helm install --name jenkins-azure jenkins-azure --values values.yaml --namespace jenkins

Access Jenkins

After a couple of seconds, Jenkins should be accessible This will print out logs with initial password for one time auth It will also connect through port-forward on http://localhost:8080

jenkins=$(kubectl get pods -n jenkins --selector=name=jenkins --output=jsonpath='{.items[*].metadata.name}')
kubectl logs $jenkins -n jenkins
kubectl port-forward -n jenkins $jenkins 8080:8080

About

Helm chart for deploying Jenkins with persisted storage on Azure Kubernetes Service

Resources

Stars

Watchers

Forks

Packages

No packages published