[root@k8s-master ~]# ceph osd pool rm cephfs_data cephfs_data --yes-i-really-really-mean-it Error EPERM: pool deletion is disabled; you must first set the mon_allow_pool_delete config option to true before you can destroy a pool
添加刪除pool權限
cd /etc/ceph/ cat /etc/ceph/ceph.conf [global] mon_allow_pool_delete = true
分發配置文件
[cephadmin@k8s-master ceph-cluster]$ ceph-deploy --overwrite-conf config push k8s-master k8s-node1 k8s-node2
重啟所有節點的mon和mgr服務
[root@k8s-node1 ~]# systemctl restart ceph-mgr@k8s-node1.service
[root@k8s-node1 ~]# systemctl restart ceph-mon@k8s-node1.service
