diff --git a/charts/kubernetes-operations/Chart.yaml b/charts/kubernetes-operations/Chart.yaml index 7125e85..db04386 100644 --- a/charts/kubernetes-operations/Chart.yaml +++ b/charts/kubernetes-operations/Chart.yaml @@ -3,7 +3,7 @@ apiVersion: v2 name: kubernetes-operations -version: 0.0.8 +version: 0.0.9 description: A set of Plutono dashboards and Prometheus alerting rules combined with playbooks to ensure effective operations of Kubernetes. maintainers: - name: Richard Tief (I520251) diff --git a/charts/kubernetes-operations/alerts/kubernetes-apiserver.alerts.tpl b/charts/kubernetes-operations/alerts/kubernetes-apiserver.alerts.tpl index 5e6c1fd..b6ac80b 100644 --- a/charts/kubernetes-operations/alerts/kubernetes-apiserver.alerts.tpl +++ b/charts/kubernetes-operations/alerts/kubernetes-apiserver.alerts.tpl @@ -8,9 +8,7 @@ groups: labels: severity: {{ dig "KubernetesApiServerDown" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesApiServerDown.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: Kubernetes API server has disappeared from Prometheus target discovery. summary: Target disappeared from Prometheus target discovery. @@ -31,9 +29,7 @@ groups: labels: severity: {{ dig "KubernetesApiServerLatency" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesApiServerLatency.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: ApiServerLatency for `{{`{{ $labels.resource }}`}}` is higher then usual for the past {{ dig "KubernetesApiServerDown" "for" "30m" .Values.prometheusRules }} minutes. Inspect apiserver logs for the root cause. summary: ApiServerLatency is unusually high. @@ -55,9 +51,7 @@ groups: labels: severity: {{ dig "KubeAggregatedAPIDown" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubeAggregatedAPIDown.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: Kubernetes aggregated API `{{`{{ $labels.namespace }}`}}/{{`{{ $labels.name }}`}}` has been only `{{`{{ $value | humanizePercentage }}`}}` available over the last {{ dig "KubeAggregatedAPIDown" "for" "5m" .Values.prometheusRules }} . Run `kubectl get apiservice | grep -v Local` and confirm the services of aggregated APIs have active endpoints. summary: Kubernetes aggregated API is down. diff --git a/charts/kubernetes-operations/alerts/kubernetes-health.alerts.tpl b/charts/kubernetes-operations/alerts/kubernetes-health.alerts.tpl index 871ee84..4d0afeb 100644 --- a/charts/kubernetes-operations/alerts/kubernetes-health.alerts.tpl +++ b/charts/kubernetes-operations/alerts/kubernetes-health.alerts.tpl @@ -8,9 +8,7 @@ groups: labels: severity: {{ dig "KubeStateMetricsScrapeFailed" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubeStateMetricsScrapeFailed.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: Failed to scrape kube-state-metrics. Metrics on the cluster state might be outdated. summary: kube-state-metrics scrape failed. @@ -23,9 +21,7 @@ groups: labels: severity: {{ dig "KubernetesNodeManyNotReady" "severity" "critical" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesManyNodesNotReady.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: "`{{`{{ $value }}`}}` nodes are `NotReady` for more than an hour." summary: Many Nodes are NotReady. @@ -38,9 +34,7 @@ groups: labels: severity: {{ dig "KubernetesNodeNotReady" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesNodeNotReady.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: summary: Node status is NotReady. description: Node `{{`{{ $labels.node }}`}}` is NotReady for more than an hour. @@ -53,9 +47,7 @@ groups: labels: severity: {{ dig "KubernetesNodeReadinessFlapping" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesNodeReadinessFlapping.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: Node `{{`{{ $labels.node }}`}}` is flapping between Ready and NotReady. summary: Node readiness status is flapping. @@ -68,9 +60,7 @@ groups: labels: severity: {{ dig "KubernetesPodRestartingTooMuch" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesPodRestartingTooMuch.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: Container `{{`{{ $labels.container }}`}}` of pod `{{`{{ $labels.namespace }}/{{ $labels.pod }}`}}` is restarting constantly. summary: Pod is in a restart loop. @@ -84,9 +74,7 @@ groups: labels: severity: {{ dig "KubernetesTooManyOpenFiles" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesTooManyOpenFiles.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: "`{{`{{ $labels.job }}`}}` on `{{`{{ $labels.node }}`}}` is using `{{`{{ $value }}%`}}` of the available `file/socket` descriptors." summary: Too many open file descriptors. @@ -108,9 +96,7 @@ groups: labels: severity: {{ dig "KubernetesDeploymentReplicasMismatch" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesDeploymentReplicasMismatch.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: Deployment `{{`{{ $labels.namespace }}/{{ $labels.deployment }}`}}` has not matched the expected number of replicas for longer than 10 minutes. summary: Deployment has not matched the expected number of replicas. @@ -135,9 +121,7 @@ groups: labels: severity: {{ dig "KubePodNotReady" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubePodNotReady.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: Pod `{{`{{ $labels.namespace }}/{{ $labels.pod }}`}}` has been in a non-ready state for longer than {{ dig "KubePodNotReady" "for" "30m" .Values.prometheusRules }} minutes. summary: Pod has been in a non-ready state for more than {{ dig "KubePodNotReady" "for" "30m" .Values.prometheusRules }} minutes. diff --git a/charts/kubernetes-operations/alerts/kubernetes-kubelet.alerts.tpl b/charts/kubernetes-operations/alerts/kubernetes-kubelet.alerts.tpl index 8b7d67e..7f6e5fe 100644 --- a/charts/kubernetes-operations/alerts/kubernetes-kubelet.alerts.tpl +++ b/charts/kubernetes-operations/alerts/kubernetes-kubelet.alerts.tpl @@ -13,9 +13,7 @@ groups: labels: severity: {{ dig "KubernetesManyKubeletsDown" "severity" "critical" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesManyKubeletsDown.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: Many Kubelets are DOWN. summary: More than 4 Kubelets are DOWN. @@ -28,9 +26,7 @@ groups: labels: severity: {{ dig "KubeletDown" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubeletDown.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: Kublet on `{{`{{ $labels.node }}`}}` is DOWN. summary: A Kubelet is DOWN. @@ -52,9 +48,7 @@ groups: labels: severity: {{ dig "KubeletTooManyPods" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubeletTooManyPods.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: Kubelet `{{`{{ $labels.node }}`}}` is running at `{{`{{ $value | humanizePercentage }}`}}` of its Pod capacity. summary: Kubelet is running at capacity. @@ -76,9 +70,7 @@ groups: labels: severity: {{ dig "KubeletFull" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubeletFull.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: Kubelet is full, no more pods can be scheduled on `{{`{{ $labels.node }}`}}`. summary: Kubelet is full. @@ -91,9 +83,7 @@ groups: labels: severity: {{ dig "KubeletHighNumberOfGoRoutines" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubeletHighNumberOfGoRoutines.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: Kublet on `{{`{{ $labels.node }}`}}` might be unresponsive due to a high number of Go routines. summary: High number of Go routines. @@ -106,9 +96,7 @@ groups: labels: severity: {{ dig "KubeletHighNumberOfGoRoutinesPredicted" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubeletHighNumberOfGoRoutinesPredicted.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: Kublet on `{{`{{$labels.node}}`}}` might become unresponsive due to a high number of go routines within 2 hours. summary: Predicting high number of Go routines. @@ -130,9 +118,7 @@ groups: labels: severity: {{ dig "KubeletManyRequestErrors" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubeletManyRequestErrors.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: "`{{`{{ $value | humanizePercentage }}`}}` of requests from kubelet on `{{`{{ $labels.node }}`}}` are erroneous." summary: Many HTTP 5xx responses for Kubelet requests. diff --git a/charts/kubernetes-operations/alerts/kubernetes-node.alerts.tpl b/charts/kubernetes-operations/alerts/kubernetes-node.alerts.tpl index cf3e950..c68c541 100644 --- a/charts/kubernetes-operations/alerts/kubernetes-node.alerts.tpl +++ b/charts/kubernetes-operations/alerts/kubernetes-node.alerts.tpl @@ -8,9 +8,7 @@ groups: labels: severity: {{ dig "KubernetesNodeHostHighCPUUsage" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesNodeHostHighCPUUsage.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: Node `{{`{{ $labels.node }}`}}`has more than `{{`{{ $value | humanizePercentage }}`}}` CPU load for {{ dig "NodeHostHighCPUUsage" "for" "6h" .Values.prometheusRules }} summary: High CPU load on node. @@ -23,9 +21,7 @@ groups: labels: severity: {{ dig "KubernetesNodeKernelDeadlock" "severity" "info" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesNodeKernelDeadlock.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: summary: Permanent kernel deadlock on `{{`{{ $labels.node }}`}}`. Please drain and reboot node. description: The kernel of the node has deadlocked. @@ -38,9 +34,7 @@ groups: labels: severity: {{ dig "KubernetesNodeDiskPressure" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesNodeDiskPressure.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: Node `{{`{{ $labels.node }}`}}` under pressure due to insufficient available disk space. summary: Insufficient disk space for the node. @@ -53,9 +47,7 @@ groups: labels: severity: {{ dig "KubernetesNodeMemoryPressure" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesNodeMemoryPressure.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: Node `{{`{{ $labels.node }}`}}` under pressure due to insufficient available memory. summary: Insufficient memory for the node. @@ -80,9 +72,7 @@ groups: labels: severity: {{ dig "KubernetesNodeHighDiskUsagePercentage" "severity" "info" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesNodeHighDiskUsagePercentage.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: Node disk usage above 85% summary: "Disk usage on `{{`{{ $labels.node }}`}}` at `{{`{{ $value | humanizePercentage }}`}}`" @@ -95,9 +85,7 @@ groups: labels: severity: {{ dig "KubernetesNodeHighNumberOfOpenConnections" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesNodeHighNumberOfOpenConnections.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: The node `{{`{{ $labels.node }}`}}` has more than 20000 active TCP connections. The maximum possible number is 32768 connections. summary: High number of open TCP connections on node. @@ -110,9 +98,7 @@ groups: labels: severity: {{ dig "KubernetesNodeHighRiseOfOpenConnections" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesNodeHighRiseOfOpenConnections.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: The node `{{`{{ $labels.node }}`}}` will probably reach 32768 active TCP connections within the next hour.If this happens, it will no longer be able to accept new connections. summary: High number of open TCP connections on node. @@ -124,9 +110,7 @@ groups: labels: severity: {{ dig "KubernetesNodeContainerOOMKilled" "severity" "info" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesNodeContainerOOMKilled.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: More than 3 pods on node `{{`{{ $labels.node }}`}}` terminated within 24 hours by the Out of Memory Manager (OOMkilled). summary: More than 3 OOM killed pods on a node within 24h. @@ -139,9 +123,7 @@ groups: labels: severity: {{ dig "KubernetesNodeHighNumberOfThreads" "severity" "critical" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesNodeHighNumberOfThreads.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: High number of threads on `{{`{{ $labels.node }}`}}`. Forking problems are imminent. summary: Very high number of threads on node. @@ -154,9 +136,7 @@ groups: labels: severity: {{ dig "KubernetesNodeReadOnlyRootFilesystem" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesNodeReadOnlyRootFilesystem.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: The node `{{`{{ $labels.node }}`}}` has a read-only root file system. This can lead to unpredictable problems. A restart of the node is recommended to resolve the problem. summary: Read-only root filesystem on node. @@ -168,9 +148,7 @@ groups: labels: severity: {{ dig "KubernetesNodeRebootsTooFast" "severity" "warning" .Values.prometheusRules }} runbook_url: https://github.com/cloudoperators/kubernetes-operations/playbooks/KubernetesNodeRebootsTooFast.md - {{- if .Values.prometheusRules.additionalRuleLabels }} - {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} - {{- end }} + {{ include "kubernetes-operations.additionalRuleLabels" . | nindent 6 }} annotations: description: The node `{{`{{ $labels.node }}`}}` rebooted `{{`{{ $value | humanize }}`}}` times in the past hour. It could be stuck in a reboot/panic loop. summary: Node rebooted multiple times. diff --git a/charts/kubernetes-operations/templates/_helpers.tpl b/charts/kubernetes-operations/templates/_helpers.tpl index 9848ccd..d6dcdeb 100644 --- a/charts/kubernetes-operations/templates/_helpers.tpl +++ b/charts/kubernetes-operations/templates/_helpers.tpl @@ -4,8 +4,8 @@ {{- $root := index . 1 -}} app.kubernetes.io/version: {{ $root.Chart.Version }} app.kubernetes.io/part-of: {{ $root.Release.Name }} -{{- if $root.Values.commonLabels}} -{{ toYaml $root.Values.commonLabels }} +{{- if $root.Values.global.commonLabels}} +{{ toYaml $root.Values.global.commonLabels }} {{- end }} {{- end }} @@ -20,6 +20,15 @@ plugin: {{ $root.Release.Name }} {{- end }} {{- end }} +{{- define "kubernetes-operations.additionalRuleLabels" }} +{{- if .Values.prometheusRules.additionalRuleLabels }} + {{- toYaml .Values.prometheusRules.additionalRuleLabels | nindent 6 }} +{{- end }} +{{- if .Values.global.commonLabels }} +{{ tpl (toYaml .Values.global.commonLabels) . }} +{{- end }} +{{- end }} + {{- define "kubernetes-operations.dashboardSelectorLabels" }} {{- $path := index . 0 -}} {{- $root := index . 1 -}} diff --git a/charts/kubernetes-operations/values.yaml b/charts/kubernetes-operations/values.yaml index ff7f10a..68f1353 100644 --- a/charts/kubernetes-operations/values.yaml +++ b/charts/kubernetes-operations/values.yaml @@ -1,9 +1,10 @@ # SPDX-FileCopyrightText: 2024 SAP SE or an SAP affiliate company and Greenhouse contributors # SPDX-License-Identifier: Apache-2.0 -## Common labels to add to all resources -## -commonLabels: {} +global: + ## Common labels to add to all resources + ## + commonLabels: {} ## C default rules for monitoring the cluster ##