1 系统信息
centos 9 + k8s v 1.28.2
2 操作步骤
[root@c9-k8s-master-200 tidb]# kubectl get node
NAME STATUS ROLES AGE VERSION
c9-k8s-master-200 Ready control-plane 5d3h v1.28.2
c9-k8s-node-210 Ready 5d3h v1.28.2
c9-k8s-node-211 Ready 5d3h v1.28.2
c9-k8s-node-212 Ready 5d3h v1.28.2
在c9-k8s-node-210,c9-k8s-node-211,c9-k8s-node-212 创建以下目录
[root@c9-k8s-node-210 ~]# tree /mnt/
/mnt/
├── backup
├── hgfs
├── monitoring
├── sharedssd
└── ssd
[root@c9-k8s-master-200 tidb]# kubectl get po -n kube-system -l app=local-volume-provisioner && kubectl get pv | grep -e ssd-storage -e shared-ssd-storage -e monitoring-storage -e backup-storage
NAME READY STATUS RESTARTS AGE
local-volume-provisioner-c27vt 1/1 Running 0 28m
local-volume-provisioner-hfs8m 1/1 Running 0 28m
local-volume-provisioner-m5q5j 1/1 Running 0 28m
No resources found