From 10c4ed179b265a9bc8f16a06592dfc08f07c7a6a Mon Sep 17 00:00:00 2001 From: Rafael Date: Wed, 22 Jan 2025 11:24:01 -0300 Subject: [PATCH] UPDATE: add toleration for spot instances --- maestro/templates/deployment.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maestro/templates/deployment.yaml b/maestro/templates/deployment.yaml index 18fad50..f8221d7 100644 --- a/maestro/templates/deployment.yaml +++ b/maestro/templates/deployment.yaml @@ -36,6 +36,11 @@ spec: operator: In values: - backend + tolerations: + - key: "kubernetes.azure.com/scalesetpriority" + operator: "Equal" + value: "spot" + effect: "NoSchedule" containers: - name: maestro