cephfs/deploy: added more convenience scripts

This commit is contained in:
gman 2018-03-20 16:25:35 +01:00
parent e0935a9772
commit f7cdd5a9bd
2 changed files with 6 additions and 0 deletions

View 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

View File

@ -0,0 +1,3 @@
#!/bin/sh
kubectl logs $(kubectl get pods -l app=csi-cephfsplugin -o=name | head -n 1) -c csi-cephfsplugin