UiPath Documentation
automation-suite
2024.10
false
Automation Suite on OpenShift installation guide

Configuring CSI driver tolerations for ODF 4.20 or later

Configure CSI driver tolerations for ODF 4.20 or later in Automation Suite on OpenShift to schedule Ceph CSI nodeplugins correctly.

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(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated