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

Not able to deploy couchbase-operator on new k8s cluster

    XMLWordPrintable

Details

    • Bug
    • Resolution: User Error
    • Major
    • 1.0.0
    • 1.0.0
    • kubernetes

    Description

      I am following the steps as given in this link for bringing up the couchbase-operator on new k8s cluster which is running verion 1.8.0-0

      But once the couchbase-operator-internal:1.0.0:215 image is deployed, I am continuously seeing the following prints,

      E0615 16:09:08.902453       1 leaderelection.go:224] error retrieving resource lock default/couchbase-operator: endpoints "couchbase-operator" is forbidden: User "system:serviceaccount:default:default" cannot get endpoints in the namespace "default"

      Steps followed prior to operator deployment on default namespace,

      1. kubectl create -f https://packages.couchbase.com/kubernetes/0.8.1-beta2/k8s-rbac/cluster-role.yaml
      2. kubectl create serviceaccount couchbase-operator --namespace default
      3. kubectl create clusterrolebinding couchbase-operator --clusterrole couchbase-operator --serviceaccount default:couchbase-operator

      Attaching the kube logs cb-k8s-support-06152018-21_53_16.tgz in the bug.

       

      Attachments

        1. cb-k8s-support-06152018-21_53_16.tgz
          108 kB
          Ashwin Govindarajulu
        2. clusterrole.yml
          46 kB
          Ashwin Govindarajulu
        3. clusterrolebinding.yml
          26 kB
          Ashwin Govindarajulu
        4. serviceaccount.yml
          0.7 kB
          Ashwin Govindarajulu
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            ashwin.govindarajulu Ashwin Govindarajulu
            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