Parcourir la source

Use modern architecture selection

Victor Lavaud il y a 7 mois
Parent
commit
a00c7607a9
2 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 2 2
      gdrive-backup/backup.yaml
  2. 2 2
      mariadb/mariadb-rs.yaml

+ 2 - 2
gdrive-backup/backup.yaml

@@ -14,10 +14,10 @@ spec:
               requiredDuringSchedulingIgnoredDuringExecution:
                 nodeSelectorTerms:
                 - matchExpressions:
-                  - key: arch
+                  - key: kubernetes.io/arch
                     operator: In
                     values:
-                    - x86
+                    - amd64
           initContainers:
           - name: prepare-gdrive-credentials
             image: busybox

+ 2 - 2
mariadb/mariadb-rs.yaml

@@ -13,10 +13,10 @@ spec:
               requiredDuringSchedulingIgnoredDuringExecution:
                 nodeSelectorTerms:
                 - matchExpressions:
-                  - key: arch
+                  - key: "kubernetes.io/arch"
                     operator: In
                     values:
-                    - x86
+                    - amd64
           containers:
           - name: mariadb-backup
             image: qdii/mysql-ssh:latest