Skip to content

Commit

Permalink
Merge pull request #156 from johnbedeir/dev
Browse files Browse the repository at this point in the history
Helm Deployment
  • Loading branch information
JohnyDev authored Oct 24, 2022
2 parents 2bc038d + 2a592c2 commit 938eee7
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
34 changes: 34 additions & 0 deletions Helm/Grafana/README.md
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]
```


27 changes: 27 additions & 0 deletions Helm/Prometheus/README.md
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]
```

0 comments on commit 938eee7

Please sign in to comment.