diff --git a/README.md b/README.md index 341fcdb789..ea07229198 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ $ kubectl -n node-feature-discovery get all pod/nfd-worker-mjg9f 1/1 Running 0 17s ... -$ kubectl get no -o json | jq .items[].metadata.labels +$ kubectl get no -o json | jq '.items[].metadata.labels' { "kubernetes.io/arch": "amd64", "kubernetes.io/os": "linux", diff --git a/docs/get-started/index.md b/docs/get-started/index.md index 715b5d4ca0..4cff6b1cac 100644 --- a/docs/get-started/index.md +++ b/docs/get-started/index.md @@ -36,7 +36,7 @@ $ kubectl -n node-feature-discovery get all pod/nfd-worker-mjg9f 1/1 Running 0 17s ... -$ kubectl get nodes -o json | jq .items[].metadata.labels +$ kubectl get nodes -o json | jq '.items[].metadata.labels' { "kubernetes.io/arch": "amd64", "kubernetes.io/os": "linux", diff --git a/docs/get-started/quick-start.md b/docs/get-started/quick-start.md index b169ca9c92..131c80c4b5 100644 --- a/docs/get-started/quick-start.md +++ b/docs/get-started/quick-start.md @@ -34,7 +34,7 @@ deployment.apps/nfd-master 1/1 1 1 17s Check that NFD feature labels have been created ```bash -$ kubectl get no -o json | jq .items[].metadata.labels +$ kubectl get no -o json | jq '.items[].metadata.labels' { "kubernetes.io/arch": "amd64", "kubernetes.io/os": "linux",