Merge pull request #46140 from cjcullen/patch-3

Update hello-minikube.md
This commit is contained in:
Kubernetes Prow Robot 2024-07-10 08:57:57 -07:00 committed by GitHub
commit 9b9259727a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -170,6 +170,12 @@ Kubernetes cluster. To make the `hello-node` Container accessible from outside t
Kubernetes virtual network, you have to expose the Pod as a
Kubernetes [*Service*](/docs/concepts/services-networking/service/).
{{< warning >}}
The agnhost container has a `/shell` endpoint, which is useful for
debugging, but dangerous to expose to the public internet. Do not run this on an
internet-facing cluster, or a production cluster.
{{< /warning >}}
1. Expose the Pod to the public internet using the `kubectl expose` command:
```shell