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:
parent
b751746109
commit
28a3b6db68
|
|
@ -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 >}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue