Skip to content

Commit 45678b5

Browse files
committed
Split k8s.rules group into three groups
In order to prevent missed deadlines of some rules affecting the entire group, split the k8s.rules group into three groups. Signed-off-by: Stephen Lang <[email protected]>
1 parent b70b97c commit 45678b5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

rules/apps.libsonnet

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@
5858
)
5959
||| % $._config,
6060
},
61+
],
62+
},
63+
{
64+
name: 'k8s.rules.container_resource',
65+
rules: [
6166
{
6267
record: 'cluster:namespace:pod_memory:active:kube_pod_container_resource_requests',
6368
expr: |||
@@ -150,6 +155,11 @@
150155
)
151156
||| % $._config,
152157
},
158+
],
159+
},
160+
{
161+
name: 'k8s.rules.pod_owner',
162+
rules: [
153163
// workload aggregation for deployments
154164
{
155165
record: 'namespace_workload_pod:kube_pod_owner:relabel',

0 commit comments

Comments
 (0)