Skip to content

Commit 28a3b6d

Browse files
authored
fix:"Hello Minikube" tutorial objective discrepancy: 'View Application Logs' mentioned but not covered . (#42998)
* fix:adding of view application logs * remove unwanted lines
1 parent b751746 commit 28a3b6d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

content/en/docs/tutorials/hello-minikube.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,20 @@ recommended way to manage the creation and scaling of Pods.
142142
kubectl config view
143143
```
144144

145+
1. View application logs for a container in a pod.
146+
147+
```shell
148+
kubectl logs hello-node-5f76cf6ccf-br9b5
149+
```
150+
151+
The output is similar to:
152+
153+
```
154+
I0911 09:19:26.677397 1 log.go:195] Started HTTP server on port 8080
155+
I0911 09:19:26.677586 1 log.go:195] Started UDP server on port 8081
156+
```
157+
158+
145159
{{< note >}}
146160
For more information about `kubectl` commands, see the [kubectl overview](/docs/reference/kubectl/).
147161
{{< /note >}}

0 commit comments

Comments
 (0)