7 lines
207 B
Bash
Executable file
7 lines
207 B
Bash
Executable file
#!/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
|