要为 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>
kubectl apply -f <file_name.yaml>kubectl apply -f <file_name.yaml>
kubectl apply -f <file_name.yaml>
kubectl label namespace <uipath> uipath-injection=enabled kubectl label namespace <uipath> istio-injection=enabledkubectl label namespace <uipath> uipath-injection=enabled kubectl label namespace <uipath> istio-injection=enabled
kubectl label namespace <uipath> uipath-injection=enabled kubectl label namespace <uipath> istio-injection=enabled