Replies: 1 comment 1 reply
-
@tpantelis, any thoughts on this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With the introduction of Statefulset start ordinal in Kubernetes 1.27 onwards, there is a way to create a stateful application spanning multiple clusters with unique pod-ids in each cluster. However, to resolve the pod IPs across multiple clusters, we need to always be aware of which cluster a specific pod is part of.
Meaning for clusterid-1 and clusterid-2, hosting pods 0-2 and 3-5 respectively for a statefulset,
from clusterid-1, we always need to do something like this to resolve a pod in clusterid-2.
statefulworkload-3.clusterid-2.statefulapp.my-namespace.svc.clusterset.local (Similarly the other way around).
Since, the pods are unique in this structure throughout the group of clusters, can a way be provided to resolve a pod directly using:
statefulworkload-3.statefulapp.my-namespace.svc.clusterset.local
Assumptions made here:
Would using a different DNS:
statefulworkload-3.statefulapp.my-namespace.pod.clusterset.local help?
I wanted to get some thoughts on this. It's not necessarily an issue yet.
Beta Was this translation helpful? Give feedback.
All reactions