You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/03/12 18:41:36 UTC

[GitHub] [druid] himanshug edited a comment on issue #9496: druid management ui in kubernetes fails if more than one coordinator/overlord process

himanshug edited a comment on issue #9496: druid management ui in kubernetes fails if more than one coordinator/overlord process
URL: https://github.com/apache/druid/issues/9496#issuecomment-598355639
 
 
   you can't point to service, druid(actually zookeeper client) needs to have all of zookeeper hosts individually listed like it is done in non-k8s deployments as well.
   
   if  you deployed zookeeper  using a stateful set, make sure to add  `serviceName` (as in https://github.com/druid-io/druid-operator/blob/master/examples/tiny-cluster-zk.yaml#L29  ) in the StatefulSet  is the magic attribute  that sets   `spec.subdomain` in launched pods which in turn leads to k8s cluster dns resolving fulling qualified zk pods names e.g. "tiny-cluster-zk-0.tiny-cluster-zk, tiny-cluster-zk-1.tiny-cluster-zk .. etc"
   
   https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-hostname-and-subdomain-fields doc describes same for pods. 
   
   Note: you might have to make your service a "headless service" but it might work with non-headless service as well so try that first, make sure "nslookup &lt;fully qualified zk pod name&gt;" works on all druid pods. See https://github.com/kubernetes/website/pull/16376

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org