Skip to main content
Run the commands on this page from the root of the extracted release package.

Upgrade the operator

Helm installs the CRD only once, with the first helm 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:
Helm updates the 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

Helm deletes the 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

Do not remove the operator while a RegattaCluster resource still exists. Without the operator, nothing manages or reports on the running RegattaDB system, and the resource cannot be deleted until the operator is installed again. Delete every RegattaCluster resource in the namespace first.
  1. Confirm that no RegattaCluster resource is left in the namespace. The command below should print No resources found:
  2. 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.
  3. Optionally, remove the CRD. The CRD is cluster-wide: deleting it deletes every RegattaCluster resource in every namespace. Remove it only when the first command below prints No 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.