https://rancher.com/ logo
Title
f

freezing-activity-5466

01/15/2023, 6:42 PM
How can we prioritize the rancher containers running in the clusters over other containers? If the rancher containers are not running, we have no management of the system.
c

clever-mechanic-71254

01/16/2023, 7:55 AM
it is best practice to not deploy any other workloads on the rancher management server cluster. what you can try as workaround anyway is to add reservations to your containers from the rancher deployment.
f

freezing-activity-5466

01/16/2023, 10:27 PM
This is for the pods that run on the client clusters that rancher manages, as opposed to the rancher cluster itself. In earlier versions we used to be able to change the priority of the containers via kubectl. However that now causes more issues
c

clever-mechanic-71254

01/17/2023, 6:49 PM
My bad for misunderstanding your issue. So the problem comes from resource constraints in the downstream clusters or any other areas?
p

purple-translator-99032

01/19/2023, 1:28 PM
Thats not an answer to your question but you can add an Authorized Endpoint to your cluster and use this endpoint when rancher is not available.
You can use priority classes https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/ By default should have already 2 priority classes system-node-critical, system-cluster-critical