[k8s] add script to connect to ceph pod
This commit is contained in:
parent
dc641911d4
commit
7f712a2c98
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
# Connect to the pod running ceph-tools
|
||||
|
||||
POD=$(kubectl -n rook-ceph get pods \
|
||||
-l app=rook-ceph-tools --output=jsonpath={.items..metadata.name})
|
||||
|
||||
kubectl -n rook-ceph exec -ti $POD -- bash
|
Loading…
Reference in New Issue