kube-prometheus: Re-generate
This commit is contained in:
@@ -21,6 +21,10 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: 3000
|
- containerPort: 3000
|
||||||
name: http
|
name: http
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /api/health
|
||||||
|
port: http
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
|
@@ -595,8 +595,8 @@ spec:
|
|||||||
}} for container {{ $labels.container_name }} in pod {{ $labels.pod_name
|
}} for container {{ $labels.container_name }} in pod {{ $labels.pod_name
|
||||||
}}.'
|
}}.'
|
||||||
runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-cputhrottlinghigh
|
runbook_url: https://github.com/kubernetes-monitoring/kubernetes-mixin/tree/master/runbook.md#alert-name-cputhrottlinghigh
|
||||||
expr: "100 * sum(increase(container_cpu_cfs_throttled_periods_total[5m])) by
|
expr: "100 * sum(increase(container_cpu_cfs_throttled_periods_total{}[5m]))
|
||||||
(container_name, pod_name, namespace) \n / \nsum(increase(container_cpu_cfs_periods_total[5m]))
|
by (container_name, pod_name, namespace) \n / \nsum(increase(container_cpu_cfs_periods_total{}[5m]))
|
||||||
by (container_name, pod_name, namespace)\n > 25 \n"
|
by (container_name, pod_name, namespace)\n > 25 \n"
|
||||||
for: 15m
|
for: 15m
|
||||||
labels:
|
labels:
|
||||||
|
Reference in New Issue
Block a user