Skip to content

Instantly share code, notes, and snippets.

@flrichar
Last active January 13, 2026 16:07
Show Gist options
  • Select an option

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

Select an option

Save flrichar/30f498302bb2a1e73573b8418cc1f431 to your computer and use it in GitHub Desktop.
RKE2 IP Change

2025-1201 IP-Change Restore Example

  • Always use S3 for backups
  • Enable adequate, constant, consistent backups
  • Single-Nodes for Development, ensure quick turnaround

Example ...

Address changed from .147 to .180 ... Verified the timestamp was the same from 11/21 locally & in S3. Do not require full-path for S3 bucket data.

  • sudo systemctl disable --now rke2-server
  • rke2 server --cluster-reset --cluster-reset-restore-path=etcd-snapshot-zalg113.gxize.local-1763724124
  • sudo systemctl enable --now rke2-server

Always destroy the cluster when you need to change any kubernetes ip address assignments or allocations, and recreate from scratch. Proper backup posture will assist in this situation.

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