forked from cloudnativelabs/kube-router
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fact(NSC): differentiate headless services
Differentiate headless services from ClusterIP being none, in preparation for handling the service.kubernetes.io/headless label. One might thing that handling these is similar, which it sort of is and sort of isn't. ClusterIP is an immutable field, whereas labels are mutable. This changes our handling of ClusterIP none-ness from the presence of the headless label. When we consider what to do with ClusterIP being none, that is fundamentally different, because once it is None, the k8s API guarantees that the service won't ever change. Whereas the label can be added and removed.
- Loading branch information
Showing
3 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters