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

We should not delete crd when uninstalling the Operator

    XMLWordPrintable

Details

    • Page
    • Resolution: Duplicate
    • Major
    • None
    • None
    • documentation
    • None
    • 1

    Description

      https://docs.couchbase.com/operator/current/install-kubernetes.html#uninstalling-the-operator

      Under the section of uninstalling the Operator, we gave this commend

      $ kubectl delete -f crd.yaml
      

      This is not needed and also dangerous to run since removing the crd would removing everything else on that cluster (cb server, PVs...). As we also mention that here

      https://docs.couchbase.com/operator/current/howto-operator-upgrade.html#uninstall-operator

      >Never delete existing CRDs. If an existing CRD is deleted, any CouchbaseCluster resources will also be deleted.

      We should remove this command from the doc to avoid customer running it by mistake.

      Attachments

        Issue Links

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

          Activity

            People

              eric.schneider Eric Schneider (Inactive)
              tin.tran Tin Tran (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty