Hi. I’m testing Couchbase-operator and couchbase-cluster with kubernetes and helm.
I successed to create Couchbase Cluster with default ID (Administrator) and Password (password).
I can login to cluster through couchbase-cli and couchbase UI without TLS.
But I can’t login to cluster through couchbase UI with TLS.
Do I have missing point to set ID, Password with TLS??
Thanks
Now i’m trying to access to 8091 port through the nginx ingress with tls.
And i found a interesting thing.
When count of couchbase server is 1, I can Login to it.
But When count of couchbase server is more than 2, I can’t login.
Just cross-posting here from Can't login couchbase UI for people interested, but the trick is to enable stickiness / affinity in the load-balancing, because the authentication cookie set by the UI is node-specific.
For nginx ingress controller, this is done by setting the nginx.ingress.kubernetes.io/affinity: cookie annotation.