billimek / k8s-gitops

GitOps principles to define kubernetes cluster state via code
Apache License 2.0
642 stars 84 forks source link

Recreate cluster and restore persistent workloads #162

Closed billimek closed 3 years ago

billimek commented 3 years ago

Background

Due to the issues in #161, I had an unplanned opportunity to test rebuilding and restoring data for a new kubernetes cluster. The previous cluster has been running for over a year, and there was bound to be some unintentional drift from code persisted in github.

Part of the goal was to switch the k3s networking CNI from the default flannel to calico.

Calico experiment

Rebuild Cluster

VMs

bootstrapping cluster

Restoring workloads

billimek commented 3 years ago

This was created for future reference, closing now!