Skip to content

Commit

Permalink
Merge pull request #2002 from juan-lee/kube-prometheus-updates
Browse files Browse the repository at this point in the history
kube-prometheus how-to section and manifest update
  • Loading branch information
juan-lee committed Dec 2, 2020
2 parents 3399d34 + 5fcfa54 commit 3bfe112
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/kube-prometheus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ updates are applied to customize the configuration for AKS.
``` sh
kustomize build github.com/Azure/AKS/examples/kube-prometheus | kubectl apply -f -
```

## How-to

- [Access the dashboards](https://github.com/prometheus-operator/kube-prometheus#access-the-dashboards)
1 change: 1 addition & 0 deletions examples/kube-prometheus/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ resources:
- github.com/prometheus-operator/kube-prometheus?ref=4b690d4a5c3e7f66ef2e5882f4258cc1ca4c890e
patchesStrategicMerge:
- alertmanager-secret.yaml
- node-exporter-daemonset.yaml
17 changes: 17 additions & 0 deletions examples/kube-prometheus/node-exporter-daemonset.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: node-exporter
namespace: monitoring
spec:
template:
spec:
containers:
- name: node-exporter
resources:
limits:
cpu: 600m
memory: 180Mi
requests:
cpu: 102m
memory: 180Mi

0 comments on commit 3bfe112

Please sign in to comment.