change NPD port

This commit is contained in:
Ajit Kumar
2017-07-20 10:36:41 -07:00
parent 0237e4dbf4
commit 5cfe97cd15

View File

@@ -64,7 +64,7 @@ func (npdo *NodeProblemDetectorOptions) AddFlags(fs *pflag.FlagSet) {
fs.StringVar(&npdo.HostnameOverride, "hostname-override",
"", "Custom node name used to override hostname")
fs.IntVar(&npdo.ServerPort, "port",
10256, "The port to bind the node problem detector server. Use 0 to disable.")
20256, "The port to bind the node problem detector server. Use 0 to disable.")
fs.StringVar(&npdo.ServerAddress, "address",
"127.0.0.1", "The address to bind the node problem detector server.")
}