[08.10.20] Having multiple ports exposed needs naming

This commit is contained in:
andrewso 2020-10-08 11:19:21 +01:00
parent 4996521c38
commit ac22be19fe

View File

@ -9,10 +9,12 @@ spec:
selector:
app: RESOURCE_NAME
ports:
- port: 9090
- name: predictions
port: 9090
protocol: TCP
targetPort: 9090
- port: 9091
- name: probes
port: 9091
protocol: TCP
targetPort: 9091
sessionAffinity: None