PortName is requeried for Multi-port Services #279
Labels
assess
We still haven't decided if this will be worked on or not
base
core
enhancement
New feature or request
Is your feature request related to a problem? Please describe.
container.ports [] set multiple ports in service_manifest.yml, but only first one 5003 shown in k8s control dashboard.
Here is the scaler kubernetes_ctl.py, it parse spec.container.ports as a list[int]
But as k8s docs describes:
Multi-port Services
For some Services, you need to expose more than one port. Kubernetes lets you configure multiple port definitions on a Service object. When using multiple ports for a Service, you must give all of your ports names so that these are unambiguous. For example:
Describe the solution you'd like
A update for odm.module of DockerConfig ports like the k8s ports: V1ServicePort
Or simply adding name for each port while creating k8s pods in scaler kubernetes_ctl.py,
The text was updated successfully, but these errors were encountered: