automation-suite
2.2510
true
OpenShift 上的 Automation Suite 安装指南
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。
新发布内容的本地化可能需要 1-2 周的时间才能完成。
为 ODF 4.20 配置 CSI 驱动程序容错
在 Automation Suite 中为 OpenShift Data Foundation 4.20 配置 Ceph CSV 驱动程序容错。
描述
OpenShift Data Foundation (ODF) 4.20 使用 rook 1.18,该 rook 将 Ceph CSI 驱动程序提取到单独的运算符中。因此,先前通过CSI_PLUGIN_TOLERATIONS配置映射传递容错的方法不再有效。要确保将 Ceph CSI 节点插件计划在正确的节点上,您必须向 Ceph CSI 节点插件显式添加容忍。
解决方案
成功部署存储集群后,请执行以下步骤:
- 将以下配置保存到 YAML 文件中:
--- apiVersion: csi.ceph.io/v1 kind: Driver metadata: name: openshift-storage.cephfs.csi.ceph.com namespace: openshift-storage spec: nodePlugin: tolerations: - effect: NoSchedule key: node.ocs.openshift.io/storage operator: Equal value: "true" - effect: NoSchedule key: serverless.robot operator: Equal value: "present" - effect: NoSchedule key: node-role.kubernetes.io/control-plane operator: Exists - effect: NoSchedule key: uipath operator: Exists --- apiVersion: csi.ceph.io/v1 kind: Driver metadata: name: openshift-storage.rbd.csi.ceph.com namespace: openshift-storage spec: nodePlugin: tolerations: - effect: NoSchedule key: node.ocs.openshift.io/storage operator: Equal value: "true" - effect: NoSchedule key: serverless.robot operator: Equal value: "present" - effect: NoSchedule key: node-role.kubernetes.io/control-plane operator: Exists - effect: NoSchedule key: uipath operator: Exists--- apiVersion: csi.ceph.io/v1 kind: Driver metadata: name: openshift-storage.cephfs.csi.ceph.com namespace: openshift-storage spec: nodePlugin: tolerations: - effect: NoSchedule key: node.ocs.openshift.io/storage operator: Equal value: "true" - effect: NoSchedule key: serverless.robot operator: Equal value: "present" - effect: NoSchedule key: node-role.kubernetes.io/control-plane operator: Exists - effect: NoSchedule key: uipath operator: Exists --- apiVersion: csi.ceph.io/v1 kind: Driver metadata: name: openshift-storage.rbd.csi.ceph.com namespace: openshift-storage spec: nodePlugin: tolerations: - effect: NoSchedule key: node.ocs.openshift.io/storage operator: Equal value: "true" - effect: NoSchedule key: serverless.robot operator: Equal value: "present" - effect: NoSchedule key: node-role.kubernetes.io/control-plane operator: Exists - effect: NoSchedule key: uipath operator: Exists - 通过运行以下命令应用配置:
oc apply -f <filename>.yamloc apply -f <filename>.yaml