fix:"Hello Minikube" tutorial objective discrepancy: 'View Application Logs' mentioned but not covered . (#42998)

* fix:adding of view application logs

* remove unwanted lines
This commit is contained in:
MeenuyD 2023-09-15 08:42:13 +05:30 committed by GitHub
parent b751746109
commit 28a3b6db68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -142,6 +142,20 @@ recommended way to manage the creation and scaling of Pods.
kubectl config view
```
1. View application logs for a container in a pod.
```shell
kubectl logs hello-node-5f76cf6ccf-br9b5
```
The output is similar to:
```
I0911 09:19:26.677397 1 log.go:195] Started HTTP server on port 8080
I0911 09:19:26.677586 1 log.go:195] Started UDP server on port 8081
```
{{< note >}}
For more information about `kubectl` commands, see the [kubectl overview](/docs/reference/kubectl/).
{{< /note >}}