From 31b1cee4c156822d0149354cdb45908e73856844 Mon Sep 17 00:00:00 2001 From: Ho Kim Date: Sat, 25 May 2024 19:38:10 +0000 Subject: [PATCH] fix(vine): make desktop container be critical --- templates/vine/templates/session/user-session.yaml.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/vine/templates/session/user-session.yaml.j2 b/templates/vine/templates/session/user-session.yaml.j2 index 88280b2e..55fb959c 100644 --- a/templates/vine/templates/session/user-session.yaml.j2 +++ b/templates/vine/templates/session/user-session.yaml.j2 @@ -305,9 +305,15 @@ spec: {% if not spec.persistence %} restartPolicy: Never {% endif %} + priorityClassName: system-node-critical serviceAccount: account shareProcessNamespace: true terminationGracePeriodSeconds: 60 + tolerations: + - operator: Exists + effect: NoExecute + - operator: Exists + effect: NoSchedule volumes: - name: cgroup hostPath: