Specify target port

This commit is contained in:
Daniel Flanagan 2022-02-08 16:03:43 -06:00
parent 2721763582
commit 6deccad22b
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -30,6 +30,7 @@ spec:
type: LoadBalancer type: LoadBalancer
ports: ports:
- port: 8000 - port: 8000
targetPort: 80
protocol: TCP protocol: TCP
selector: selector:
run: my-nginx run: my-nginx