2

In k8s, dns name can be unchangable, the ip is unflexable. the cnosdb github repo provide ip to config the clusters, but in kubernetes the cluster should use dns name, please provide a workaround method to config.

know the best practise to deploy cnosdb in k8s

xufei Alex
  • 65
  • 4

1 Answers1

2

I don't know the code of the tool you indicate in the question, but not giving the possibility to configure a DNS name in favor of a static IP is generally an anti-pattern, especially on Kubernetes.

However, Network plug-ins like Calico allow you to reserve a static IP address for your Pod.

Take a look here: https://docs.tigera.io/calico/latest/networking/ipam/use-specific-ip

glv
  • 994
  • 1
  • 1
  • 15