Skip to content

Commit

Permalink
Merge pull request #165 from johnbedeir/dev
Browse files Browse the repository at this point in the history
Fix #164 Deploy-jenkins-helm
  • Loading branch information
JohnyDev authored Nov 24, 2022
2 parents b33361f + 4d0c797 commit 0d72da2
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions Helm/Jenkins/README.md
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]
```


0 comments on commit 0d72da2

Please sign in to comment.