Skip to content

Instantly share code, notes, and snippets.

@flrichar
Last active March 25, 2026 15:00
Show Gist options
  • Select an option

  • Save flrichar/bfca9c41f880f479787518929cea5cde to your computer and use it in GitHub Desktop.

Select an option

Save flrichar/bfca9c41f880f479787518929cea5cde to your computer and use it in GitHub Desktop.
calico ipam ippool update

rke2 standalone, not provisioned through rancher

... https://docs.tigera.io/calico/latest/networking/ipam/migrate-pools

metadata:
  labels:
    app.kubernetes.io/managed-by: tigera-operator
...

Had to remove that .metadata.labels entry to prevent the tigera-operator from reverting any changes. It is required to document, back up, and thoroughly test this customization.

Observed the operator replacing the label on the new ippool in use.

Only perform this operation in a lab environment. If done elsewhere, you're announcing how incredibly stupid and foolish you are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment