mirror of
https://github.com/bitnami/containers.git
synced 2026-03-13 14:58:03 +08:00
Update README.md
This commit is contained in:
committed by
GitHub
parent
d20b81144e
commit
d3c8282db8
@@ -120,7 +120,7 @@ Since the service `example-svc` is defined to be of type `NodePort`, we can set
|
|||||||
$ kubectl port-forward $(kubectl get pods -l app=example -o jsonpath="{ .items[0].metadata.name }") 8000:8000
|
$ kubectl port-forward $(kubectl get pods -l app=example -o jsonpath="{ .items[0].metadata.name }") 8000:8000
|
||||||
```
|
```
|
||||||
|
|
||||||
The command forwards the local port `8000` to port `8000` of the Pod container. You can access the application by visiting the http://localhost:8000.
|
The command forwards the local port `8000` to port `8000` of the Pod container. You can access the application by visiting the `http://localhost:8000`.
|
||||||
|
|
||||||
> **Note:**
|
> **Note:**
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user