ceph csi 配置注意事项
1、准备三个worker/Node节点。
[root@cliprod kubernetes]# cat csi-rbdplugin-provisioner.yaml
---
kind: Deployment
apiVersion: apps/v1
metadata:
name: csi-rbdplugin-provisioner
spec:
replicas: 3
selector:
matchLabels:
app: csi-rbdplugin-provisioner
[root@cliprod kubernetes]#
2、pull生产环境镜像
Important :
The provisioner and node plugin YAMLs will, by default, pull the development release of the ceph-csi container (quay.io/cephcsi/cephcsi:canary). The YAMLs should be updated to use a release version container for production workloads.
# for stable functionality replace canary with latest release version
image: quay.io/cephcsi/cephcsi:v3.2-canary
git或者下载的时候不要使用确实的版本(master).
如果是openshift 4.x,那就还需要把SCC账户创建了。