Upgrade the operator
Helm installs the CRD only once, with the firsthelm install. helm upgrade and helm uninstall never update or delete it, so that an upgrade cannot invalidate or delete your RegattaCluster resources. When a new release changes the CRD, apply the new CRD yourself before you upgrade the operator.
Run these commands from the new release package, after you set the new operator image in operator-values.yaml:
Existing
RegattaCluster resources keep running. See Upgrading the operator for what an upgrade does and does not change.
Change a RegattaCluster
Change the resource by editing your values file and upgrading the release, not by editing the resource with kubectl:
RegattaCluster resource and prints STATUS: deployed; the operator then applies the change. Only the fields listed in Making supported changes can change: Helm cannot change an immutable field any more than kubectl can. Changing profile, or upgrading to a chart version with a different baseline or profile, can change immutable fields, so preview the result with helm template first. helm rollback re-applies an earlier revision of the manifest under the same rules; it does not restore data.
To see what a release currently holds:
helm get values prints the values you supplied. helm get manifest prints the RegattaCluster manifest Helm generated from them.
Delete a RegattaCluster
RegattaCluster resource. The operator then stops RegattaDB, removes the resources it generated, and keeps every PersistentVolumeClaim. Deleting a RegattaCluster describes these steps, how to confirm the result, and how to delete the retained PVCs.
Remove the operator
-
Confirm that no
RegattaClusterresource is left in the namespace. The command below should printNo resources found: -
Uninstall the chart:
This removes the operator Deployment and its RBAC. It does not remove the CRD, the namespace, retained PVCs, or infrastructure you created for a deployment profile.
-
Optionally, remove the CRD. The CRD is cluster-wide: deleting it deletes every
RegattaClusterresource in every namespace. Remove it only when the first command below printsNo resources found:
Helm errors
Helm reports these errors before the operator is involved:
If Helm prints
STATUS: deployed but the resource does not become Ready, Helm has done its part: continue with Troubleshooting. With a deployment profile, also confirm that the StorageClasses and node pools the profile expects exist; a missing one leaves PVCs or Pods Pending.