From 42bd5e2e535b4e18c9b6a3f3b7991495e9a4e789 Mon Sep 17 00:00:00 2001 From: Random-Liu Date: Thu, 9 Jun 2016 16:06:48 -0700 Subject: [PATCH] Remove unnecessary configuration for apiserver host and port. --- ...-problem-detector.yaml.in => node-problem-detector.yaml} | 6 ------ cluster/common.sh | 1 - cluster/gce/configure-vm.sh | 1 - cluster/gce/gci/configure-helper.sh | 4 ---- cluster/saltbase/salt/kube-addons/init.sls | 3 +-- 5 files changed, 1 insertion(+), 14 deletions(-) rename cluster/addons/node-problem-detector/{node-problem-detector.yaml.in => node-problem-detector.yaml} (80%) 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 00a4a8e9377..3e7cba5317b 100755 --- a/cluster/common.sh +++ b/cluster/common.sh @@ -594,7 +594,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 <