-
Notifications
You must be signed in to change notification settings - Fork 38.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Services with clusterIP: None can be created with type LoadBalancer #33036
Comments
I will try to take a shot at it. |
Awesome! Make sure to handle updates in all directions. Historically it On Thu, Sep 22, 2016 at 6:17 AM, Maciej Kwiek notifications@github.com
|
@thockin do you have any examples of this behaviour breaking something? It would help with justifying my PR in code review process :). I know it makes sense to fix this issue, but an example would be nice. |
I had a user report thatthey didn't know what was happening - the API On Thu, Sep 22, 2016 at 10:50 AM, Maciej Kwiek notifications@github.com
|
Automatic merge from submit-queue Disallow headless Services with LB type **What this PR does / why we need it**: It adds new validation rule for Services, to ensure that creating LoadBalancer type service with cluster IP set to "None" fails. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #33036 **Release note**: ```release-note Creating LoadBalancer Service with "None" ClusterIP is no longer possible ```
…dBalancer `Service is invalid: spec.clusterIP: Invalid value: "None": may not be set to 'None' for LoadBalancer services` Relates to kubernetes/kubernetes#33766 kubernetes/kubernetes#24040 kubernetes/kubernetes#33036 Signed-off-by: grebois <grebois@gmail.com>
please what are really use cases where we can use k8s headless service, DB, Proxies .. ? |
Create the following svc:
It should fail.
The text was updated successfully, but these errors were encountered: