From 1e2202c075a049e0800613113db55720df4c0a63 Mon Sep 17 00:00:00 2001 From: Ziming Miao Date: Thu, 29 Nov 2018 14:50:01 +0800 Subject: [PATCH] make node manager tolerate disk and memory pressure (#1784) --- .../deploy/hadoop-node-manager.yaml.template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/hadoop-node-manager/deploy/hadoop-node-manager.yaml.template b/src/hadoop-node-manager/deploy/hadoop-node-manager.yaml.template index 139185b432..a665e8e12a 100644 --- a/src/hadoop-node-manager/deploy/hadoop-node-manager.yaml.template +++ b/src/hadoop-node-manager/deploy/hadoop-node-manager.yaml.template @@ -127,5 +127,9 @@ spec: - name: hadoop-tmp-storage hostPath: path: {{ clusterinfo[ 'dataPath' ] }}/hadooptmp/nodemanager - + tolerations: + - key: node.kubernetes.io/memory-pressure + operator: "Exists" + - key: node.kubernetes.io/disk-pressure + operator: "Exists"