-
Notifications
You must be signed in to change notification settings - Fork 240
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 #156 from johnbedeir/dev
Helm Deployment
- Loading branch information
Showing
2 changed files
with
61 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,34 @@ | ||
# Deploy Grafana using Helm | ||
|
||
## Add Grafana Helm Repo | ||
``` | ||
helm repo add grafana https://grafana.github.io/helm-charts | ||
``` | ||
|
||
## Update Helm Repo | ||
``` | ||
helm repo update | ||
``` | ||
|
||
## Deploy Grafana | ||
|
||
``` | ||
helm install [RELEASE_NAME] grafana/grafana | ||
``` | ||
|
||
## Get Grafana service name | ||
``` | ||
kubectl get service | ||
``` | ||
|
||
## Expose Grafana service to port 3000 | ||
``` | ||
kubectl --namespace default port-forward [SERVICE_NAME] 3000 | ||
``` | ||
|
||
## Uninstall Chart | ||
``` | ||
helm uninstall [RELEASE_NAME] | ||
``` | ||
|
||
|
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,27 @@ | ||
# Deploy Promethues using Helm | ||
|
||
## Add Prometheus Helm Repo | ||
``` | ||
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts | ||
``` | ||
|
||
## Update Helm Repo | ||
``` | ||
helm repo update | ||
``` | ||
|
||
## Deploy Promethues | ||
|
||
``` | ||
helm install [RELEASE_NAME] prometheus-community/prometheus | ||
``` | ||
|
||
## Expose Prometheus service to port 9090 | ||
``` | ||
kubectl expose service prometheus-server --type=NodePort --target-port=9090 --name=prometheus-server-np | ||
``` | ||
|
||
## Uninstall Chart | ||
``` | ||
helm uninstall [RELEASE_NAME] | ||
``` |