Details
-
Page
-
Resolution: Fixed
-
Major
-
None
-
1
Description
Docs page: https://docs.couchbase.com/operator/1.2/install-kubernetes.html#uninstalling-the-operator
Problem description:
When a user follows the Upgrading the Operator to version 2.0.x guide one the main steps include uninstalling the older operator version. If you are upgrading from 1.2.x to 2.0.x one would need to refer to the 1.2.x uninstallation docs page where we mention that all one needs to completely uninstall the operator is run - `kubectl delete deployment couchbase-operator`.
The docs do mention that you need to run the uninstallation in reverse order of operator installation:
you’ll need to undo the installation steps in reverse order for the specific version of the Operator you are upgrading from.
However, the end user needs commands that can be run simply via copy-paste.
The correct way of uninstalling 1.2.x operator is :
kubectl delete deployment couchbase-operator --namespace <namespace>
kubectl delete -f operator-role-binding.yaml --namespace <namespace>
kubectl delete -f operator-service-account.yaml --namespace <namespace>
kubectl delete -f operator-role.yaml --namespace <namespace>
Uninstalling operator 2.0.x is simple - you just need to run a bin/cbopcfg | kubectl delete -f, however for 1.2.x operator you need to run all the steps manually.
All these steps need to be explicitly mentioned under the 1.2.x uninstallation docs page so that there is no scope for confusion.
Attachments
Issue Links
- has to be started together with
-
K8S-1616 Ambiguity around deleting the CRD in the Operator upgrade docs
- Closed