We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a554c9b commit bd4554dCopy full SHA for bd4554d
content/en/docs/tasks/debug/debug-application/debug-init-containers.md
@@ -92,11 +92,11 @@ You can also access the Init Container statuses programmatically by reading the
92
93
94
```shell
95
-kubectl get pod nginx --template '{{.status.initContainerStatuses}}'
+kubectl get pod <pod-name> --template '{{.status.initContainerStatuses}}'
96
```
97
98
99
-This command will return the same information as above in raw JSON.
+This command will return the same information as above, formatted using a [Go template](https://pkg.go.dev/text/template).
100
101
## Accessing logs from Init Containers
102
0 commit comments