Update README.md

This commit is contained in:
Dominik Chilla 2020-08-23 17:33:52 +02:00 committed by GitHub
parent 6cff7d1f9d
commit 1caa068ac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,8 +133,9 @@ service/my-nginx ClusterIP 10.43.118.13 <none> 80/TCP 99s
[...] [...]
``` ```
Expose my-nginx app on nginx-ingress TCP-port 9000: `kubectl edit service -n ingress-nginx` Expose my-nginx app on nginx-ingress TCP-port 9000: `kubectl edit service -n ingress-nginx`
Find the `ports:`-section of the `ingress-nginx-controller` service and *ADD* the definition for port 9000:
``` ```
[...]
spec: spec:
clusterIP: 10.43.237.255 clusterIP: 10.43.237.255
externalTrafficPolicy: Cluster externalTrafficPolicy: Cluster