Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
Sync prometheus operator dashboard and rules (#16814)
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Gazzetta <[email protected]>
  • Loading branch information
ElfoLiNk authored and k8s-ci-robot committed Sep 5, 2019
1 parent 4126d8d commit 0ac9362
Show file tree
Hide file tree
Showing 7 changed files with 2,190 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/prometheus-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ name: prometheus-operator
sources:
- https://github.com/coreos/prometheus-operator
- https://coreos.com/operators/prometheus
version: 6.8.2
version: 6.8.3
appVersion: 0.32.0
home: https://github.com/coreos/prometheus-operator
keywords:
Expand Down
4 changes: 3 additions & 1 deletion stable/prometheus-operator/hack/sync_grafana_dashboards.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ def new_representer(dumper, data):
'controller-manager': ' .Values.kubeControllerManager.enabled',
'kubelet': ' .Values.kubelet.enabled',
'proxy': ' .Values.kubeProxy.enabled',
'scheduler': ' .Values.kubeScheduler.enabled'
'scheduler': ' .Values.kubeScheduler.enabled',
'node-rsrc-use': ' .Values.nodeExporter.enabled',
'node-cluster-rsrc-use': ' .Values.nodeExporter.enabled'
}

# standard header
Expand Down
2 changes: 2 additions & 0 deletions stable/prometheus-operator/hack/sync_prometheus_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ def new_representer(dumper, data):
'kubernetes-resources': ' .Values.defaultRules.rules.kubernetesResources',
'kubernetes-storage': ' .Values.defaultRules.rules.kubernetesStorage',
'kubernetes-system': ' .Values.defaultRules.rules.kubernetesSystem',
'node-exporter.rules': ' .Values.nodeExporter.enabled .Values.defaultRules.rules.node',
'node-exporter': ' .Values.nodeExporter.enabled .Values.defaultRules.rules.node',
'node.rules': ' .Values.nodeExporter.enabled .Values.defaultRules.rules.node',
'node-network': ' .Values.defaultRules.rules.network',
'node-time': ' .Values.defaultRules.rules.time',
Expand Down
Loading

0 comments on commit 0ac9362

Please sign in to comment.