Closed adrian-salas closed 2 years ago
Sometimes when declaring multiple ports with the katenary.io/ports label, all of the list might not need to be exposed.
eg We declare the following ports katenary.io/ports: 80,443,8080,9000
katenary.io/ports: 80,443,8080,9000
In a PHP-Nginx configuration, the 9000 port shouldn't b exposed as it is only used internally.
We could ave a second label that is used to "declare" the internal ports, so it is not exposed
I wonder how we can declare this. At this time we declare ports to be in "containerPort" in pods and "port" in services. I propose:
katenary.io/ports: N katenary.io/containerPorts: M
Right ?
Sometimes when declaring multiple ports with the katenary.io/ports label, all of the list might not need to be exposed.
eg We declare the following ports
katenary.io/ports: 80,443,8080,9000
In a PHP-Nginx configuration, the 9000 port shouldn't b exposed as it is only used internally.
We could ave a second label that is used to "declare" the internal ports, so it is not exposed