From 4d2cddad547057cca141e48b9b4e6d5a70b8027e Mon Sep 17 00:00:00 2001 From: Lucas Serven <lserven@gmail.com> Date: Thu, 19 Jul 2018 16:05:34 +0200 Subject: [PATCH] contrib: regenerate --- manifests/grafana-dashboardDefinitions.yaml | 34 +++++++++++++++++++-- manifests/grafana-deployment.yaml | 2 +- manifests/prometheus-rules.yaml | 2 +- 3 files changed, 34 insertions(+), 4 deletions(-) diff --git a/manifests/grafana-dashboardDefinitions.yaml b/manifests/grafana-dashboardDefinitions.yaml index a0dba292..1143970e 100644 --- a/manifests/grafana-dashboardDefinitions.yaml +++ b/manifests/grafana-dashboardDefinitions.yaml @@ -2501,6 +2501,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "A", "step": 10 }, { @@ -2509,6 +2510,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "B", "step": 10 }, { @@ -2517,6 +2519,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "C", "step": 10 }, { @@ -2525,6 +2528,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "D", "step": 10 }, { @@ -2533,6 +2537,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "E", "step": 10 } ], @@ -2861,6 +2866,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "A", "step": 10 }, { @@ -2869,6 +2875,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "B", "step": 10 }, { @@ -2877,6 +2884,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "C", "step": 10 }, { @@ -2885,6 +2893,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "D", "step": 10 }, { @@ -2893,6 +2902,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "E", "step": 10 } ], @@ -3303,6 +3313,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "A", "step": 10 }, { @@ -3311,6 +3322,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "B", "step": 10 }, { @@ -3319,6 +3331,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "C", "step": 10 }, { @@ -3327,6 +3340,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "D", "step": 10 }, { @@ -3335,6 +3349,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "E", "step": 10 } ], @@ -3663,6 +3678,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "A", "step": 10 }, { @@ -3671,6 +3687,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "B", "step": 10 }, { @@ -3679,6 +3696,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "C", "step": 10 }, { @@ -3687,6 +3705,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "D", "step": 10 }, { @@ -3695,6 +3714,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "E", "step": 10 } ], @@ -4132,6 +4152,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "A", "step": 10 }, { @@ -4140,6 +4161,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "B", "step": 10 }, { @@ -4148,6 +4170,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "C", "step": 10 }, { @@ -4156,6 +4179,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "D", "step": 10 }, { @@ -4164,6 +4188,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "E", "step": 10 } ], @@ -4492,6 +4517,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "A", "step": 10 }, { @@ -4500,6 +4526,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "B", "step": 10 }, { @@ -4508,6 +4535,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "C", "step": 10 }, { @@ -4516,6 +4544,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "D", "step": 10 }, { @@ -4524,6 +4553,7 @@ items: "instant": true, "intervalFactor": 2, "legendFormat": "", + "refId": "E", "step": 10 } ], @@ -5696,14 +5726,14 @@ items: "refId": "A" }, { - "expr": "sum by(container) (kube_pod_container_resource_requests_memory_bytes{job=\"kubelet\", namespace=\"$namespace\", pod=\"$pod\", container=\u007e\"$container\", container!=\"POD\"})", + "expr": "sum by(container) (kube_pod_container_resource_requests_memory_bytes{job=\"kube-state-metrics\", namespace=\"$namespace\", pod=\"$pod\", container=\u007e\"$container\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "Requested: {{ container }}", "refId": "B" }, { - "expr": "sum by(container) (kube_pod_container_resource_limits_memory_bytes{job=\"kubelet\", namespace=\"$namespace\", pod=\"$pod\", container=\u007e\"$container\", container!=\"POD\"})", + "expr": "sum by(container) (kube_pod_container_resource_limits_memory_bytes{job=\"kube-state-metrics\", namespace=\"$namespace\", pod=\"$pod\", container=\u007e\"$container\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "Limit: {{ container }}", diff --git a/manifests/grafana-deployment.yaml b/manifests/grafana-deployment.yaml index 4b00b004..cb8cc9d8 100644 --- a/manifests/grafana-deployment.yaml +++ b/manifests/grafana-deployment.yaml @@ -16,7 +16,7 @@ spec: app: grafana spec: containers: - - image: grafana/grafana:5.1.0 + - image: grafana/grafana:5.2.1 name: grafana ports: - containerPort: 3000 diff --git a/manifests/prometheus-rules.yaml b/manifests/prometheus-rules.yaml index 75d5f36e..49c4a995 100644 --- a/manifests/prometheus-rules.yaml +++ b/manifests/prometheus-rules.yaml @@ -388,7 +388,7 @@ spec: kube_deployment_spec_replicas{job="kube-state-metrics"} != kube_deployment_status_replicas_available{job="kube-state-metrics"} - for: 15m + for: 1h labels: severity: critical - alert: KubeStatefulSetReplicasMismatch -- GitLab