Merge pull request #35217 from tengfei86/patch-3
Revise use of jsonpath in AppArmor tutorialpull/36750/head
commit
3b1fe5b658
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue