Merge pull request #35217 from tengfei86/patch-3

Revise use of jsonpath in AppArmor tutorial
pull/36750/head
Kubernetes Prow Robot 2022-09-07 09:40:38 -07:00 committed by GitHub
commit 3b1fe5b658
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ on nodes by checking the node ready condition message (though this is likely to
later release):
```shell
kubectl get nodes -o=jsonpath=$'{range .items[*]}{@.metadata.name}: {.status.conditions[?(@.reason=="KubeletReady")].message}\n{end}'
kubectl get nodes -o=jsonpath='{range .items[*]}{@.metadata.name}: {.status.conditions[?(@.reason=="KubeletReady")].message}{"\n"}{end}'
```
```
gke-test-default-pool-239f5d02-gyn2: kubelet is posting ready status. AppArmor enabled