clickhouse-operator
clickhouse-operator copied to clipboard
Hardcoded cluster.local DNS suffix for Clickhouse Keeper
Hi! Clickhouse keeper from clickhouse-operator doesn't work because of hardcoded cluster.local suffix. In our k8s installation we use custom domain name, which differs from cluster.local
For Clickhouse, we can override this by using namespaceDomainPattern but this options seems not available for Clickhouse Keeper.
Thanks.
I'm running into this too - it looks like namespaceDomainPattern is added to the CRD for keeper installations by this commit, but it is not actually respected, and there are hardcoded .svc.cluster.local throughout the codebase.
@minor-fixes could you try clickhouse-operator:0.24.0 ?
I checked
minikube start --dns-domain=custom.k8s.local
install operator then applied
apiVersion: "clickhouse-keeper.altinity.com/v1"
kind: "ClickHouseKeeperInstallation"
metadata:
name: simple1
spec:
namespaceDomainPattern: "%s.svc.custom.k8s.local"
configuration:
clusters:
- name: "cluster1"
replicas: 3