Add maintenance toleration for cpu_pooler_config 97/2197/2
authorHu Zhou <hu.zhou@nokia.com>
Fri, 17 Jan 2020 09:19:18 +0000 (11:19 +0200)
committerHu Zhou <hu.zhou@nokia.com>
Fri, 17 Jan 2020 12:13:37 +0000 (14:13 +0200)
Change-Id: If8730e5246f21b1245c41543de9d22fe5539edc3
Signed-off-by: Hu Zhou <hu.zhou@nokia.com>
ansible/roles/cpupooler/templates/cpu_pooler_config.yaml.j2
rpmbuild.spec

index c9ee90c..ce3a804 100644 (file)
@@ -28,5 +28,10 @@ limitations under the License.
     {% endfor %}
   nodeSelector:
     nodename: "{{ hostdata['nodename'] | default('') }}"
+  tolerations:
+  - key: "node-maintenancemode"
+    value: "enabled"
+    operator: "Equal"
+    effect: "NoExecute"
   {% endif %}
 {% endfor %}
index 339b320..cc237ca 100644 (file)
@@ -16,7 +16,7 @@
 %define COMPONENT_PART process-starter
 %define RPM_NAME caas-%{COMPONENT}
 %define RPM_MAJOR_VERSION 0.3.0
-%define RPM_MINOR_VERSION 8
+%define RPM_MINOR_VERSION 9
 %define go_version 1.12.10
 %define CPUPOOLER_VERSION e0459346946b0907d26cd3d79dc54feb2c625286
 %define DEP_MAN_VERSION 0.5.4