mnubo / kubernetes-py

A python module for Kubernetes.
Apache License 2.0
123 stars 46 forks source link

Service.add_port() ignores protocol when checking if the port already exists #106

Closed lphuberdeau closed 6 years ago

lphuberdeau commented 7 years ago

Impossible to bind the same port number as udp and tcp.

Workaround is to generate the ServicePort list without using add_port()

sebastienc commented 6 years ago

THanks, I'll see what I can do to fix this.

sebastienc commented 6 years ago

See: https://github.com/mnubo/kubernetes-py/pull/136