add target port for service

This commit is contained in:
ducoterra
2020-04-18 19:02:48 -04:00
parent af7c42b60d
commit e330356cd2

View File

@@ -9,8 +9,9 @@ spec:
ports: ports:
- protocol: TCP - protocol: TCP
port: 9080 port: 9080
targetPort: 80
name: http name: http
- protocol: TCP - protocol: TCP
port: 9443 port: 443
name: https name: https
type: LoadBalancer type: LoadBalancer