yugabyte / yugabyte-db

YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
https://www.yugabyte.com
Other
8.84k stars 1.05k forks source link

[Platform] Pods unreachable when using custom domain #9751

Open akumar-yb opened 3 years ago

akumar-yb commented 3 years ago

ZD ticket - 1514

The UI is not able to pick the correct domain name for the pods which is supposed to be uhn7klr2c.local It's taking Kubernetes' default domain name which is cluster.local This is why it's not able to reach the pods, and hence it's showing status unreachable.

I want to understand how and from where UI reads the pod names/domain names etc. Also, what's the significance of KUBE_DOMAIN ? Is it being honored properly in this case?

The override for the custom domain is properly being written in the Postgres table (availability_zones). Pods' names are showing correctly in logs and kubectl outputs. Pods and containers are communicating well.

The issue is only with the UI. This ticket is open for a month now and it's a blocker for the customer (Rakuten).

Rakuten uses IPv6 everywhere in their infra. Rakuten uses robin.io provided k8s and storage for the cluster.

https://yugabyte.zendesk.com/agent/tickets/1514

hsu880 commented 3 years ago

Related to K8S.

akumar-yb commented 3 years ago

Yes, it is related to K8S.

akumar-yb commented 3 years ago

YB Platform Version 2.6.0