mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
cephfs/deploy: added more convenience scripts
This commit is contained in:
parent
e0935a9772
commit
f7cdd5a9bd
3
deploy/cephfs/kubernetes/exec-bash.sh
Executable file
3
deploy/cephfs/kubernetes/exec-bash.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
kubectl exec -it $(kubectl get pods -l app=csi-cephfsplugin -o=name | head -n 1 | cut -f2 -d"/") -c csi-cephfsplugin bash
|
3
deploy/cephfs/kubernetes/logs.sh
Executable file
3
deploy/cephfs/kubernetes/logs.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
kubectl logs $(kubectl get pods -l app=csi-cephfsplugin -o=name | head -n 1) -c csi-cephfsplugin
|
Loading…
Reference in New Issue
Block a user