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

Hardcoded `cluster.local` DNS suffix

Open Wexxion opened this issue 3 years ago • 1 comments

Hi! metrics_exporter from clickhouse-operator can't scrape metrics from clickhouse cluster because of hardcoded cluster.local suffix. In our k8s installation we use custom domain name, which differs from cluster.local

If I understand right, domain suffix is optional and we can get rid of it, because suffix will be taken from k8's DNS

How to fix issue: Remove all cluster.local occurrences from repo or provide ability to configure cluster domain in clickhouse-operator installation

Wexxion avatar Sep 02 '22 11:09 Wexxion

Facing the same issue :(

lololozhkin avatar Sep 02 '22 11:09 lololozhkin

I have same problem too.

iak2004 avatar Nov 14 '22 20:11 iak2004

take a look on the example with explicit domain name: https://github.com/Altinity/clickhouse-operator/blob/master/docs/chi-examples/18-namespace-domain-pattern.yaml

sunsingerus avatar Feb 01 '23 21:02 sunsingerus