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

Applying miscellaneous configurations

Create priority classes and namespace labels in Automation Suite on OpenShift when admin privileges are unavailable.

Note:

Only apply the configurations in this section if you cannot provide admin privileges to the Automation Suite installer. If you can provide the required permissions to the installer, you do not need to apply the configurations in this section.

Creating a priority class​

To create a priority class for UiPath® applications, take the following steps:

  1. Save the following configuration as a YAML file:
    ---
    apiVersion: scheduling.k8s.io/v1
    kind: PriorityClass
    metadata:
      name: uipath-high-priority
    value: 1000000
    preemptionPolicy: PreemptLowerPriority
    globalDefault: false
    description: "Priority class for uipath applications"
    ---
    apiVersion: scheduling.k8s.io/v1
    kind: PriorityClass
    metadata:
      name: uipath-high-priority
    value: 1000000
    preemptionPolicy: PreemptLowerPriority
    globalDefault: false
    description: "Priority class for uipath applications"
    
  2. Run the following command, replacing the <file_name.yaml> placeholder with the actual name of your YAML file:
    oc apply -f <file_name.yaml>
    oc apply -f <file_name.yaml>
    
Important:

The priority class name uipath-high-priority is required and cannot be changed.

Skipping the priority class​

If you do not want to create a priority class, set ignore_priority_class to true in the input.json file. Automation Suite then omits priorityClassName from all workloads, so no PriorityClass needs to exist on the cluster and you can skip Creating a priority class.

If you are installing without cluster roles, you must set ignore_priority_class to true, because creating a cluster-scoped PriorityClass is not possible in that mode. For details, refer to Granting installation permissions without cluster roles.

Labeling the namespaces​

To create namespace labels, run the following commands:

oc label namespace <uipath> uipath-injection=enabled
oc label namespace <uipath> istio-injection=enabled
oc label namespace <uipath> uipath-injection=enabled
oc label namespace <uipath> istio-injection=enabled
  • Creating a priority class​
  • Skipping the priority class​
  • Labeling the namespaces​

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated