cockroach-operator icon indicating copy to clipboard operation
cockroach-operator copied to clipboard

Problems with clusterDomain and operator

Open Lamercho opened this issue 3 years ago • 2 comments

What is the proper way to install cockroachdb with operator and set custom cluster domain different than cluster.local ?

In helm chart there was a config variable for that, cant seem to find one for the operator config.

Lamercho avatar May 05 '22 16:05 Lamercho

Hey @Lamercho. Sorry for the delay. I think this PR (#894) that I put up might not be the best way to support custom domains. In particular, it will not work well in some of the custom DNS setups.

Are you running into issues with the operator in a k8s cluster with a custom cluster domain? If your clients connect to the cluster without using the fully qualified domain name (crdb.some-namespace.svc instead of crdb.some-namespace.svc.<your-domain), it should work.

meridional avatar May 20 '22 15:05 meridional

Hey @Lamercho. Sorry for the delay. I think this PR (#894) that I put up might not be the best way to support custom domains. In particular, it will not work well in some of the custom DNS setups.

Are you running into issues with the operator in a k8s cluster with a custom cluster domain? If your clients connect to the cluster without using the fully qualified domain name (crdb.some-namespace.svc instead of crdb.some-namespace.svc.<your-domain), it should work.

Yep we are doing it without FQDN but it will be great to have something like --cluster-dmain parameter during crdb installation.

Lamercho avatar May 20 '22 15:05 Lamercho