Skip to content

Behaviour of StatefulSet Without Service Name #5137

Closed Answered by cxMiguelSilva
adberger asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @adberger, hope you are doing great!
Regarding the first question, according to the kubernetes documentation the statefulset requires a headless service that is done setting the clusterIP to None (https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#limitations), we do not verify if clusterIP is set due to it being required and not optional.
Regarding the second question, if only a fraction of the labels match the output will be false and the count not increased.
Let me know if I you have any other doubt!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@adberger
Comment options

@cxMiguelSilva
Comment options

Answer selected by kaplanlior
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