diff --git a/cluster/addons/node-problem-detector/node-problem-detector.yaml.in b/cluster/addons/node-problem-detector/node-problem-detector.yaml similarity index 80% rename from cluster/addons/node-problem-detector/node-problem-detector.yaml.in rename to cluster/addons/node-problem-detector/node-problem-detector.yaml index 6b30b328261..244e5d15793 100644 --- a/cluster/addons/node-problem-detector/node-problem-detector.yaml.in +++ b/cluster/addons/node-problem-detector/node-problem-detector.yaml @@ -19,12 +19,6 @@ spec: containers: - name: node-problem-detector image: gcr.io/google_containers/node-problem-detector:v0.1 - env: - # Config the host ip and port of apiserver. - - name: "KUBERNETES_SERVICE_HOST" - value: "{{ pillar['master_node'] }}" - - name: "KUBERNETES_SERVICE_PORT" - value: "443" securityContext: privileged: true resources: diff --git a/cluster/common.sh b/cluster/common.sh index 21efada9faa..dd7dd01c89a 100755 --- a/cluster/common.sh +++ b/cluster/common.sh @@ -602,7 +602,6 @@ ENABLE_MANIFEST_URL: $(yaml-quote ${ENABLE_MANIFEST_URL:-false}) MANIFEST_URL: $(yaml-quote ${MANIFEST_URL:-}) MANIFEST_URL_HEADER: $(yaml-quote ${MANIFEST_URL_HEADER:-}) NUM_NODES: $(yaml-quote ${NUM_NODES}) -MASTER_NAME: $(yaml-quote ${MASTER_NAME}) EOF if [ -n "${APISERVER_TEST_ARGS:-}" ]; then cat >>$file <