Fixed alert template
All checks were successful
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 11s
Check with kubeconform / lint (push) Successful in 6s
Auto-update README / Generate README and Create MR (push) Successful in 4s

This commit is contained in:
2026-01-08 17:34:28 +00:00
parent 6b60fca39c
commit f153bfc0b4

View File

@@ -52,8 +52,11 @@ data:
execErrState: Alerting execErrState: Alerting
for: 5m for: 5m
annotations: annotations:
description: 'Throttling rate: {{ printf "%.2f" $values.A }}' pod: '{{ $labels.pod }}'
summary: 'VPN node throttling CPU on {{ $labels.node }}' node: '{{ $labels.node }}'
namespace: '{{ $labels.namespace }}'
throttle_rate: '{{ printf "%.2f" $values.A }}'
summary: 'VPN node throttling CPU'
labels: labels:
severity: warning severity: warning
@@ -74,15 +77,15 @@ data:
{{ range .Alerts }} {{ range .Alerts }}
📊 <b>{{ .Labels.alertname }}</b> 📊 <b>{{ .Labels.alertname }}</b>
{{ if .Annotations.summary }}{{ .Annotations.summary }}{{ end }} {{ .Annotations.summary }}
🎯 <b>Details:</b> 🎯 <b>Details:</b>
• Pod: <code>{{ .Labels.pod }}</code> • Pod: <code>{{ .Annotations.pod }}</code>
• Node: <code>{{ .Labels.node }}</code> • Node: <code>{{ .Annotations.node }}</code>
• Namespace: <code>{{ .Labels.namespace }}</code> • Namespace: <code>{{ .Annotations.namespace }}</code>
{{ if .Annotations.description }}• {{ .Annotations.description }}{{ end }} • Throttling rate: {{ .Annotations.throttle_rate }}
🔗 <a href="{{ .SilenceURL }}">Silence</a> | <a href="{{ .DashboardURL }}">Dashboard</a> 🔗 <a href="{{ .GeneratorURL }}">View in Grafana</a>
{{ end }} {{ end }}
parse_mode: HTML parse_mode: HTML