kube-prometheus: Re-generate
This commit is contained in:
@@ -21,6 +21,10 @@ spec:
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
name: http
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /api/health
|
||||
port: http
|
||||
resources:
|
||||
limits:
|
||||
cpu: 200m
|
||||
|
@@ -595,8 +595,8 @@ spec:
|
||||
}} 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
|
||||
expr: "100 * sum(increase(container_cpu_cfs_throttled_periods_total[5m])) by
|
||||
(container_name, pod_name, namespace) \n / \nsum(increase(container_cpu_cfs_periods_total[5m]))
|
||||
expr: "100 * sum(increase(container_cpu_cfs_throttled_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"
|
||||
for: 15m
|
||||
labels:
|
||||
|
Reference in New Issue
Block a user