You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I manage my manifests with kustomize and use a Kustomization to reconcile them in the cluster. Now I want to move some of the resources to a helm template and then reconcile them with HelmRelease. For the migration step the manifests are not changed, only how they are reconciled.
Now the Problem is, that prune is set to true in the Kustomization. So during migration, kustomize-controller will delete the resources while helm-controller reconciles them. For most resources this is not a problem, but for stateful resources, such as PV and PVC, the persistent data would be lost. So my question is how would I move manifests from Kustomization to HelmRelease?
One solution I can think of is to disable the pruning for the PV and PVC before moving them. But this would still cause a minor disruption of the service, because all other resources are recreated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently I manage my manifests with kustomize and use a
Kustomization
to reconcile them in the cluster. Now I want to move some of the resources to a helm template and then reconcile them withHelmRelease
. For the migration step the manifests are not changed, only how they are reconciled.Now the Problem is, that prune is set to true in the
Kustomization
. So during migration,kustomize-controller
will delete the resources whilehelm-controller
reconciles them. For most resources this is not a problem, but for stateful resources, such as PV and PVC, the persistent data would be lost. So my question is how would I move manifests fromKustomization
toHelmRelease
?One solution I can think of is to disable the pruning for the PV and PVC before moving them. But this would still cause a minor disruption of the service, because all other resources are recreated.
Beta Was this translation helpful? Give feedback.
All reactions