I have a problem with multi-port services. I try to expose two ports, the first one works, the other does not. I am testing this with telnet (amongst others), and I always get "connection refused" for the second port.
This is the part about the ports in the service's yaml:
spec:
clusterIP: 10.97.153.249
externalTrafficPolicy: Cluster
ports:
- name: port-1
nodePort: 32714
port: 8080
protocol: TCP
targetPort: 8080
- name: port-2
nodePort: 32715
port: 17176
protocol: TCP
targetPort: 17176