Skip to content

feat(alerts): add ArgoraIPPoolImportInError alert - #38

Merged
defo89 merged 1 commit into
mainfrom
feat/argora-ippoolimport-alert
Oct 13, 2026
Merged

defo89 merged 1 commit into
mainfrom
feat/argora-ippoolimport-alert

Conversation

@defo89

@defo89 defo89 commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Add a new Prometheus alert ArgoraIPPoolImportInError for argora IPPoolImport CRs stuck in Error state for more than 10 minutes.

Motivation

The IPPoolImport CR drives the import of IP pool prefixes from NetBox into GlobalInClusterIPPool objects. When stuck in Error (e.g. invalid prefix role in NetBox, stale credentials, unreachable NetBox API), IP pools may not reflect the current state and new IP address allocations for compute/management transit networks can fail.

The existing alerts cover Update and ClusterImport CRs but not IPPoolImport, leaving a monitoring gap.

Changes

  • Added ArgoraIPPoolImportInError alert to controlplane-remote.yaml
  • Follows the exact same pattern as ArgoraUpdateInError and ArgoraClusterImportInError
  • Metric: kube_customresource_ip_pool_import_status{customresource_kind="IPPoolImport",customresource_group="argora.cloud.sap",state=~"Error"}
  • Default for: 10m, severity: warning
  • Links to the corresponding operations playbook
  • Supports the same disabled, service, support_group overrides via values

Note

The corresponding playbook PR is being opened separately.

The kube-state-metrics CustomResourceStateMetrics configuration for IPPoolImport must include this CRD for the metric to exist — please verify this is configured.

@defo89
defo89 requested a review from a team as a code owner October 13, 2026 14:42
Copilot AI balanced review requested due to automatic review settings October 13, 2026 14:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The alert follows established patterns, with only a non-blocking annotation wording issue.

1 open finding
What changed in this PR

Adds monitoring for Argora IPPoolImport resources stuck in an error state.

Changes:

  • Adds a warning alert after 10 minutes in Error.
  • Supports standard rule overrides and links the playbook.
File Description
charts/​controlplane-operations/​alerts/​controlplane-remote.yaml Defines the new Prometheus alert.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread charts/controlplane-operations/alerts/controlplane-remote.yaml Outdated
@defo89
defo89 force-pushed the feat/argora-ippoolimport-alert branch from b5baa50 to 1a2f1c7 Compare October 13, 2026 14:57
Add a new Prometheus alert for argora IPPoolImport CRs stuck in Error
state. Follows the same pattern as ArgoraUpdateInError and
ArgoraClusterImportInError alerts.

Signed-off-by: Dmitri Fedotov <dmitri.fedotov@sap.com>
@defo89
defo89 force-pushed the feat/argora-ippoolimport-alert branch from 1a2f1c7 to 85a2ba7 Compare October 13, 2026 15:00
@defo89
defo89 merged commit d9b7a10 into main Oct 13, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants