pod | grep iaas

ssh node1

kubectl get pv glance -o yaml

ll /dev/disk/by-path/ | grep iqn的id-lun-2

ls ..

ls /dev/ | grep sdf

mkdir mountTest

mount /dev/sdf /root/mountTest

mount | grep /root/mountTest

echo 'date' > info.txt

cat info.txt

cd ..

mount /root/mountTest

cd mount/Test

ls
cd ..

mount | grep /root/mountTest

pod | grep iaas

kubectl scale statefulset -n cloudos-iaas os-glance --replicas=0

kubectl scale statefulset -n cloudos-iaas os-glance --replicas=1

pod | grep glance
Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐