Skip to content

pod selectors in headless services. #1417

Answered by grs
horihel asked this question in Q&A
Mar 18, 2024 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

You can add annotations to the statefulset instead of to the service. skupper.io/proxy=tcp and skupper.io/headless=true

The way it works at present is that it creates a 'proxy' statefulset with the same name and the same service in the other linked sites, which results in the same DNS being set up there.

We have thoughts on changing this in the future though, still giving each pod a unique and stable name but probably not the exact form that kubernetes gives.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@horihel
Comment options

@grs
Comment options

Answer selected by horihel
@horihel
Comment options

@grs
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants