From 1a6b84bb0c95b3135f7009fecc177833e3a1306a Mon Sep 17 00:00:00 2001 From: yy Date: Thu, 21 Mar 2024 16:58:16 +0800 Subject: [PATCH] chore: add podAntiAffinity for desktop and some providers. Signed-off-by: yy --- frontend/desktop/deploy/manifests/deploy.yaml.tmpl | 1 + frontend/providers/template/deploy/manifests/deploy.yaml.tmpl | 1 + frontend/providers/terminal/deploy/manifests/deploy.yaml.tmpl | 1 + 3 files changed, 3 insertions(+) diff --git a/frontend/desktop/deploy/manifests/deploy.yaml.tmpl b/frontend/desktop/deploy/manifests/deploy.yaml.tmpl index ce3a3782a794..2a1d6d8fc3f8 100644 --- a/frontend/desktop/deploy/manifests/deploy.yaml.tmpl +++ b/frontend/desktop/deploy/manifests/deploy.yaml.tmpl @@ -258,6 +258,7 @@ spec: operator: In values: - desktop-frontend + namespace: sealos topologyKey: "kubernetes.io/hostname" volumes: - name: desktop-frontend-volume diff --git a/frontend/providers/template/deploy/manifests/deploy.yaml.tmpl b/frontend/providers/template/deploy/manifests/deploy.yaml.tmpl index 532354303150..795c18b56463 100644 --- a/frontend/providers/template/deploy/manifests/deploy.yaml.tmpl +++ b/frontend/providers/template/deploy/manifests/deploy.yaml.tmpl @@ -96,6 +96,7 @@ spec: operator: In values: - template-frontend + namespace: template-frontend topologyKey: "kubernetes.io/hostname" volumes: - name: template-frontend-volume diff --git a/frontend/providers/terminal/deploy/manifests/deploy.yaml.tmpl b/frontend/providers/terminal/deploy/manifests/deploy.yaml.tmpl index 8b3439b2add8..a16d1a57d0d7 100644 --- a/frontend/providers/terminal/deploy/manifests/deploy.yaml.tmpl +++ b/frontend/providers/terminal/deploy/manifests/deploy.yaml.tmpl @@ -72,6 +72,7 @@ spec: operator: In values: - terminal-frontend + namespace: terminal-frontend topologyKey: "kubernetes.io/hostname" volumes: - name: terminal-frontend-volume