I am trying to insert data into a Couchbase server running in Kubernetes. I have set up alternate addresses on my CB server and can access the cluster outside of the Kubernetes network using Web Interface and the Java SDK.
However, when I try to use the cbimport tool inside a docker container on my local machine, I get connection errors such as:
Trying to connect with k8s-ip:mgmt
failed to connect to any of the specified hosts – plan.(*data).execute() at data.go:72
Trying to connect with k8s-ip:kv
WARN: Fail to create Couchbase sink, could not get Couchbase Server version – couchbase.CreateCouchbaseSink() at sink.go:38
Json import failed: EOF
The mgmt and kv ports are what I get from the /pools/default/nodeServices endpoint. And I can connect to the same CB using Java SDK. So I am sure that the Kubernetes CB is set up correctly. The same cbimport command works against a bare-metal CB instance.
Does cbimport support the alternate addresses introduced in 6.5?