UiPath Documentation
automation-suite
2.2510
true
Automation Suite on OpenShift installation guide

Configuring CSI driver tolerations for ODF 4.20

Configure Ceph CSI driver tolerations for OpenShift Data Foundation 4.20 in Automation Suite.

Description​

OpenShift Data Foundation (ODF) 4.20 uses rook 1.18, which factors out Ceph CSI drivers into a separate operator. As a result, the previous method of passing tolerations through the CSI_PLUGIN_TOLERATIONS configmap no longer works. To ensure that Ceph CSI nodeplugins are scheduled on the correct nodes, you must explicitly add tolerations to the Ceph CSI nodeplugins.

Solution​

After the storagecluster has been successfully deployed, take the following steps:

  1. Save the following configuration to a YAML file:
    ---
    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
    
  2. Apply the configuration by running the following command:
    oc apply -f <filename>.yaml
    oc apply -f <filename>.yaml
    
  • Description​
  • Solution​

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated