I am new to couchbase deployments and have recently deployed Hashicorp Consul for service mesh. I have gotten a test instance of couchbase up and running and a cluster deployed using the helm chart… However, I would like to enable connect-inject on the cluster deployment but have not been having any luck. I did see that Istio is the preferred service mesh according to documentation but wanted to be able enable connect-inject and add the sidecar to my server cluster pods.
Does anyone have experience using consul with cocuhbase and may have some pointers to enable the connect-inject annotation using the helm chart?
I have tried multiple variations for adding the annotations to the pod deployment . Any help would be greatly appreciated
# -- Name for the server configuration. It must be unique. default: # -- AutoscaledEnabled defines whether the autoscaling feature is enabled # for this class. When true, the Operator will create a # CouchbaseAutoscaler resource for this server class. The # CouchbaseAutoscaler implements the Kubernetes scale API and can be # controlled by the Kubernetes horizontal pod autoscaler (HPA). autoscaleEnabled: false # -- Env allows the setting of environment variables in the Couchbase # server container. env: null # -- EnvFrom allows the setting of environment variables in the Couchbase # server container. envFrom: null # -- Pod defines a template used to create pod for each Couchbase server # instance. Modifying pod metadata such as labels and annotations will # update the pod in-place. Any other modification will result in a # cluster upgrade in order to fulfill the request. The Operator reserves # the right to modify or replace any field. More info: # https://kubernetes.io/docs/reference/generated/kubernetes- # api/v1.19/#pod-v1-core pod: template: metadata: annotations: consul.hashicorp.com/connect-inject: true consul.hashicorp.com/connect-service: couchbase-test spec: serviceAccountName: couchbase-test services: - data - index - query - search - analytics - eventing size: 3