1
0
Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
This commit is contained in:
Arnaud Morin
2022-01-08 23:22:44 +01:00
parent 395d00839a
commit 4b7cfe91f6
3 changed files with 23 additions and 7 deletions

View File

@@ -55,8 +55,6 @@ kubectl expose deployment first-dep --type=LoadBalancer --port=8080
The `--type=LoadBalancer` flag indicates that you want to expose your Service outside of the cluster.
The application code inside the image `k8s.gcr.io/echoserver` only listens on TCP port 8080. If you used `kubectl expose` to expose a different port, clients could not connect to that other port.
View the Service you created:
```shell