I am setting up Couchbase Cluster on Kubernetes.
First node runs cluster-init command:
couchbase-cli cluster-init --cluster <pod.dns> --cluster-username admin --cluster-password admin --services data,index,query
Cluster is initialized successfully, but node is added using its IP, not DNS name.
When adding other nodes using couchbase-cli server-add
they are added using their DNS names