Add maintenance toleration for kubedns 96/2196/2 master
authorHu Zhou <hu.zhou@nokia.com>
Fri, 17 Jan 2020 07:28:50 +0000 (09:28 +0200)
committerHu Zhou <hu.zhou@nokia.com>
Fri, 17 Jan 2020 11:59:18 +0000 (13:59 +0200)
Change-Id: I5574fdb96c3f59e4a0227c7dc1bd9db7012e6912
Signed-off-by: Hu Zhou <hu.zhou@nokia.com>
ansible/roles/kubedns/templates/kubedns-deployment.yml
rpmbuild.spec

index 265295d..65a25ff 100644 (file)
@@ -42,6 +42,10 @@ spec:
       tolerations:
       - key: "CriticalAddonsOnly"
         operator: "Exists"
+      - key: "node-maintenancemode"
+        value: "enabled"
+        operator: "Equal"
+        effect: "NoExecute"
       volumes:
       - name: time-mount
         hostPath:
index e6f6ca9..a78c08a 100644 (file)
@@ -15,7 +15,7 @@
 %define COMPONENT kubedns
 %define RPM_NAME caas-%{COMPONENT}
 %define RPM_MAJOR_VERSION 1.15.7
-%define RPM_MINOR_VERSION 0
+%define RPM_MINOR_VERSION 1
 %define IMAGE_TAG %{RPM_MAJOR_VERSION}-%{RPM_MINOR_VERSION}
 %define go_version 1.12.10