Skip to content

Commit

Permalink
Add alerting rules for subnet allocations
Browse files Browse the repository at this point in the history
  • Loading branch information
abhat committed Nov 23, 2020
1 parent 41674f2 commit 193b26c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions bindata/network/ovn-kubernetes/alert-rules-control-plane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,21 @@ spec:
for: 10m
labels:
severity: warning
- alert: V4SubnetAllocationThresholdExceeded
annotations:
message: |
More than 80% of v4 subnets available to assign to the nodes are allocated
expr: |
ovnkube_master_allocated_v4_host_subnets/ovnkube_master_num_v4_host_subnets * 100 > 80
for: 10m
labels:
severity: warning
- alert: V6SubnetAllocationThresholdExceeded
annotations:
message: |
More than 80% of the v6 subnets available to assign to the nodes are allocated
expr: |
ovnkube_master_allocated_v6_host_subnets/ovnkube_master_num_v6_host_subnets * 100 > 80
for: 10m
labels:
severity: warning

0 comments on commit 193b26c

Please sign in to comment.