Jenkins in kubernetes
Running Jenkins is trivial task, But configuring it.. Well that can be lil daunting. But as every cloud project now evolved to.. Yay.. Kubernetes!!!
Running Jenkins in Kubernetes⌗
- Create a kubernetes cluster. If you want to use k3d, follow this guide.
- Install Helm. Refer this guide Download Helm section.
- Installing Jenkins in kubernetes
helm repo add jenkins https://charts.jenkins.io helm repo update helm install jenkins/jenkins
- Accessing Jenkins
Goto your browser, open
# Get jenkins password kubectl exec -it svc/jenkins -c jenkins -- /bin/cat /run/secrets/chart-admin-password && echo # Accessing Jenkins kubectl port-forward svc/jenkins 8080:8080
http://localhost:8080
🎉🎉🎉🎉
You have Jenkins running in Kubernetes now. This is just a simple installation. I’ll post another article on customizing jenkins using code.