From dc2fd60c483b319f80998d3c024df07e8e90d550 Mon Sep 17 00:00:00 2001 From: "Bryan J." <132493975+chkpwd@users.noreply.github.com> Date: Tue, 4 Mar 2025 20:14:53 -0500 Subject: [PATCH] docs: unsupported kubectl exec params Signed-off-by: Bryan Jones (cherry picked from commit e56dda36c239e7e5be8b3a0f1fd5630d52578250) --- Documentation/Storage-Configuration/Advanced/ceph-osd-mgmt.md | 2 +- Documentation/Troubleshooting/ceph-common-issues.md | 2 +- Documentation/Troubleshooting/direct-tools.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/Storage-Configuration/Advanced/ceph-osd-mgmt.md b/Documentation/Storage-Configuration/Advanced/ceph-osd-mgmt.md index 25a7abf7d..668e55674 100644 --- a/Documentation/Storage-Configuration/Advanced/ceph-osd-mgmt.md +++ b/Documentation/Storage-Configuration/Advanced/ceph-osd-mgmt.md @@ -24,7 +24,7 @@ ceph osd utilization ``` ```console -kubectl -n rook-ceph exec -it $(kubectl -n rook-ceph get pod -l "app=rook-ceph-tools" -o jsonpath='{.items[0].metadata.name}') bash +kubectl -n rook-ceph exec -it $(kubectl -n rook-ceph get pod -l "app=rook-ceph-tools" -o jsonpath='{.items[0].metadata.name}') -- bash ``` ## Add an OSD diff --git a/Documentation/Troubleshooting/ceph-common-issues.md b/Documentation/Troubleshooting/ceph-common-issues.md index 8cca5195b..599002ef0 100644 --- a/Documentation/Troubleshooting/ceph-common-issues.md +++ b/Documentation/Troubleshooting/ceph-common-issues.md @@ -99,7 +99,7 @@ After you verify the basic health of the running pods, next you will want to run The [rook-ceph-tools pod](ceph-toolbox.md) provides a simple environment to run Ceph tools. Once the pod is up and running, connect to the pod to execute Ceph commands to evaluate that current state of the cluster. ```console -kubectl -n rook-ceph exec -it $(kubectl -n rook-ceph get pod -l "app=rook-ceph-tools" -o jsonpath='{.items[*].metadata.name}') bash +kubectl -n rook-ceph exec -it $(kubectl -n rook-ceph get pod -l "app=rook-ceph-tools" -o jsonpath='{.items[*].metadata.name}') -- bash ``` #### Ceph Commands diff --git a/Documentation/Troubleshooting/direct-tools.md b/Documentation/Troubleshooting/direct-tools.md index 1ff3a92c2..0053b5e29 100644 --- a/Documentation/Troubleshooting/direct-tools.md +++ b/Documentation/Troubleshooting/direct-tools.md @@ -19,7 +19,7 @@ After the pod is started, connect to it like this: ```console kubectl -n rook-ceph get pod -l app=rook-direct-mount -$ kubectl -n rook-ceph exec -it bash +$ kubectl -n rook-ceph exec -it -- bash ``` ## Block Storage Tools