Uploaded image for project: 'Couchbase Kubernetes'
  1. Couchbase Kubernetes
  2. K8S-1658

Operator : Operator 1.2.x uninstallation steps need further clarification

    XMLWordPrintable

Details

    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              anil Anil Kumar (Inactive)
              abhishek.jindal Abhishek Jindal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty