要为 UiPath™ 应用程序创建优先级,请执行以下步骤:
--- 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"
--- apiVersion: scheduling.k8s.io/v1 kind: PriorityClass metadata: name: uipath-high-priority value: 1000000 preemptionPolicy: PreemptLowerPriority globalDefault: false description: "Priority class for uipath applications"
<file_name.yaml>
oc apply -f <file_name.yaml>oc apply -f <file_name.yaml>
oc apply -f <file_name.yaml>
oc label namespace <uipath> uipath-injection=enabled oc label namespace <uipath> istio-injection=enabledoc 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