deleted: services/monitoring/prometheus/deploy/README.md
This commit is contained in:
@@ -1,43 +0,0 @@
|
||||
# Prometheus Setup
|
||||
|
||||
|
||||
## helm chart
|
||||
|
||||
```bash
|
||||
#add repo
|
||||
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
|
||||
```
|
||||
|
||||
**This helm chart, installs:**
|
||||
|
||||
- crd
|
||||
- Operator
|
||||
- kubernetes services monitors
|
||||
|
||||
```bash
|
||||
kubectl get namespace monitoring || kubectl create namespace monitoring
|
||||
helm upgrade --install prometheus-stack prometheus-community/kube-prometheus-stack \
|
||||
--version=86.0.1 \
|
||||
--namespace monitoring \
|
||||
--values=./deploy/helm/01-only-crd-and-operator.yaml \
|
||||
--values=./deploy/helm/02-kube-metrics.yaml \
|
||||
--values=./deploy/helm/03-node-exporter.yaml \
|
||||
--values=./deploy/helm/04-kubelet.yaml \
|
||||
--values=./deploy/helm/10-testing-values.yaml
|
||||
```
|
||||
|
||||
## deploy prometheus agent
|
||||
|
||||
**requirements:**
|
||||
|
||||
On namespaces running prometheus monitors add label `prometheus-monitoring=enabled`
|
||||
|
||||
**Example:**
|
||||
|
||||
``` bash
|
||||
kubectl label namespace monitoring prometheus-monitoring=enabled --overwrite
|
||||
```
|
||||
|
||||
```bash
|
||||
kubectl apply -f ./deploy/prometheus-agent.yaml
|
||||
```
|
||||
Reference in New Issue
Block a user