Skip to content

EndpointSpec has Target and Published ports the wrong way round? #1516

@david-terrett

Description

@david-terrett

2.1.0 Python 3.4.5 Docker 1.12.6

I am attempting to create an end point with the published port set to zero so that Docker will assign the published port but, although the dictionary passed to EndpointsSpec is documented as having TargetPort as the keys and PublishedPort as the values, the code in convert_service_ports appears to have them the other way round.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions