From 6eda431a41b6740b1645e3254482f47c5e697765 Mon Sep 17 00:00:00 2001 From: dragonpower Date: Sun, 17 Nov 2024 21:51:32 +0800 Subject: [PATCH] update app label key in docs/deploy-1.17-and-later.md --- docs/deploy-1.17-and-later.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deploy-1.17-and-later.md b/docs/deploy-1.17-and-later.md index 97010b5fe..1d9aeea86 100644 --- a/docs/deploy-1.17-and-later.md +++ b/docs/deploy-1.17-and-later.md @@ -237,7 +237,7 @@ $ kubectl exec -it my-csi-app /bin/sh Next, ssh into the Hostpath container and verify that the file shows up there: ```shell -$ kubectl exec -it $(kubectl get pods --selector app=csi-hostpathplugin -o jsonpath='{.items[*].metadata.name}') -c hostpath /bin/sh +$ kubectl exec -it $(kubectl get pods --selector app.kubernetes.io/name=csi-hostpathplugin -o jsonpath='{.items[*].metadata.name}') -c hostpath /bin/sh ``` Then, use the following command to locate the file. If everything works OK you should get a result similar to the following: