Skip to content

Commit

Permalink
Merge pull request #49316 from ajitak/npd-port
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue

Use custom port for node-problem-detector

It fixes #49263

```release-note
Use port 20256 for node-problem-detector in standalone mode.
```
  • Loading branch information
Kubernetes Submit Queue authored Jul 20, 2017
2 parents 5644e3d + f45cc00 commit 32bd2ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cluster/gce/gci/configure-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -997,6 +997,8 @@ function start-node-problem-detector {
flags+=" --logtostderr"
flags+=" --system-log-monitors=${km_config},${dm_config}"
flags+=" --apiserver-override=https://${KUBERNETES_MASTER_NAME}?inClusterConfig=false&auth=/var/lib/node-problem-detector/kubeconfig"
local -r npd_port=${NODE_PROBLEM_DETECTOR_PORT:-20256}
flags+=" --port=${npd_port}"

# Write the systemd service file for node problem detector.
cat <<EOF >/etc/systemd/system/node-problem-detector.service
Expand Down

0 comments on commit 32bd2ab

Please sign in to comment.