straight-cartoon-24485
05/16/2021, 6:35 AMpulumi refresh
which would presumably refresh the cluster state based off the Pulumi stack state?
I want to copy over a bunch of running pods from my toy cluster to a live cluster, and skip the deployment-from-scratch workflow altogether; what's interesting to me is the actual state of the app, I want to keep what I was tinkering with in the toy cluster (memory state, PVCs). Kind of like freezing a VM and moving it to another hypervisor, but for an already deployed k8s app...
A non-me use-case could be to clone the state of an k8s app and send it as-is to a friend to run on their cluster (many assumptions withstanding)
Maybe sething at the container/pod/resource layer can be used? I suppose I could keep searching for DRP, whole cluster import/export/backup patterns, not sure if this is a valid use-case in other contexts...
Maybe I need to think differently about all this; feedback appreciated :-)gentle-diamond-70147
05/18/2021, 9:11 PMpulumi import
the resources that are already provisioned, then switch stacks and up
to provision them in a new stack/cluster