Skip to content

Endpoints controller demands ports for headless services #32796

@thockin

Description

@thockin

API validation explicitly allows headless services to not have ports, but we seem to have not updated endpoints controller to know this:

https://github.com/kubernetes/kubernetes/blob/master/pkg/api/validation/validation.go#L2390

vs

https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/endpoint/endpoints_controller.go#L389

Superficially this seems like an easy fix. May be a candidate for 1.4.x

@sebgoa

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.sig/networkCategorizes an issue or PR as relevant to SIG Network.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions