docs: unsupported kubectl exec params
Signed-off-by: Bryan Jones <unix.chkpwd@gmail.com>
(cherry picked from commit e56dda36c2)
This commit is contained in:
1 parent
2355fddf4d
commit
dc2fd60c48
3 files changed
+3
-3
No files matched your search
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 <pod> bash
|
||||
$ kubectl -n rook-ceph exec -it <pod> -- bash
|
||||
```
|
||||
|
||||
## Block Storage Tools
|
||||
|
||||
Reference in new issue
Block a user