From 1426ed8c3e7892572aa7724aba75f3c658d29fc4 Mon Sep 17 00:00:00 2001 From: mugioka Date: Sat, 28 May 2022 18:29:05 +0900 Subject: [PATCH] support: update affinity in observer daemonset to schedule observer with GKE SpotVM. --- charts/panope/Chart.yaml | 2 +- charts/panope/templates/observer/daemonset.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/panope/Chart.yaml b/charts/panope/Chart.yaml index 696a087..a3f48cc 100644 --- a/charts/panope/Chart.yaml +++ b/charts/panope/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.6.5 +version: 0.6.6 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/panope/templates/observer/daemonset.yaml b/charts/panope/templates/observer/daemonset.yaml index 9846e80..9dfd504 100644 --- a/charts/panope/templates/observer/daemonset.yaml +++ b/charts/panope/templates/observer/daemonset.yaml @@ -41,6 +41,9 @@ spec: - matchExpressions: - key: cloud.google.com/gke-preemptible operator: Exists + - matchExpressions: + - key: cloud.google.com/gke-spot + operator: Exists {{- with .Values.observer.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }}