-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #165 from johnbedeir/dev
Fix #164 Deploy-jenkins-helm
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Deploy Jenkins using Helm | ||
|
||
## Add Jenkins Helm Repo | ||
``` | ||
helm repo add jenkins https://charts.jenkins.io | ||
``` | ||
|
||
## Update Helm Repo | ||
``` | ||
helm repo update | ||
``` | ||
|
||
## Deploy Jenkins | ||
|
||
``` | ||
helm install [RELEASE_NAME] jenkins/jenkins | ||
``` | ||
|
||
## Upgrade Jenkins | ||
``` | ||
helm upgrade [RELEASE_NAME] jenkins/jenkins | ||
``` | ||
|
||
## Expose Jenkins service to port 8010 | ||
``` | ||
kubectl --namespace default port-forward svc/[RELEASE_NAME] 8010:8080 | ||
``` | ||
|
||
## Get Jenkins default password | ||
``` | ||
kubectl exec --namespace default -it svc/[RELEASE_NAME] -c jenkins -- /bin/cat /run/secrets/additional/chart-admin-password && echo | ||
``` | ||
## Access Jenkins on browser | ||
``` | ||
http://127.0.0.1:8010 | ||
``` | ||
|
||
## Uninstall Chart | ||
``` | ||
helm uninstall [RELEASE_NAME] | ||
``` | ||
|
||
|