@@ -273,7 +273,7 @@ func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) {
...
@@ -273,7 +273,7 @@ func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) {
fs.StringVar(&s.ManifestURLHeader,"manifest-url-header",s.ManifestURLHeader,"HTTP header to use when accessing the manifest URL, with the key separated from the value with a ':', as in 'key:value'")
fs.StringVar(&s.ManifestURLHeader,"manifest-url-header",s.ManifestURLHeader,"HTTP header to use when accessing the manifest URL, with the key separated from the value with a ':', as in 'key:value'")
fs.BoolVar(&s.EnableServer,"enable-server",s.EnableServer,"Enable the Kubelet's server")
fs.BoolVar(&s.EnableServer,"enable-server",s.EnableServer,"Enable the Kubelet's server")
fs.IPVar(&s.Address,"address",s.Address,"The IP address for the Kubelet to serve on (set to 0.0.0.0 for all interfaces)")
fs.IPVar(&s.Address,"address",s.Address,"The IP address for the Kubelet to serve on (set to 0.0.0.0 for all interfaces)")
fs.UintVar(&s.Port,"port",s.Port,"The port for the Kubelet to serve on. Note that \"kubectl logs\" will not work if you set this flag.")// see #9325
fs.UintVar(&s.Port,"port",s.Port,"The port for the Kubelet to serve on.")
fs.UintVar(&s.ReadOnlyPort,"read-only-port",s.ReadOnlyPort,"The read-only port for the Kubelet to serve on with no authentication/authorization (set to 0 to disable)")
fs.UintVar(&s.ReadOnlyPort,"read-only-port",s.ReadOnlyPort,"The read-only port for the Kubelet to serve on with no authentication/authorization (set to 0 to disable)")
--oom-score-adj=-999: The oom-score-adj value for kubelet process. Values must be within the range [-1000, 1000]
--oom-score-adj=-999: The oom-score-adj value for kubelet process. Values must be within the range [-1000, 1000]
--pod-cidr="": The CIDR to use for pod IP addresses, only used in standalone mode. In cluster mode, this is obtained from the master.
--pod-cidr="": The CIDR to use for pod IP addresses, only used in standalone mode. In cluster mode, this is obtained from the master.
--pod-infra-container-image="gcr.io/google_containers/pause:2.0": The image whose network/ipc namespaces containers in each pod will use.
--pod-infra-container-image="gcr.io/google_containers/pause:2.0": The image whose network/ipc namespaces containers in each pod will use.
--port=10250: The port for the Kubelet to serve on. Note that "kubectl logs" will not work if you set this flag.
--port=10250: The port for the Kubelet to serve on.
--read-only-port=10255: The read-only port for the Kubelet to serve on with no authentication/authorization (set to 0 to disable)
--read-only-port=10255: The read-only port for the Kubelet to serve on with no authentication/authorization (set to 0 to disable)
--really-crash-for-testing[=false]: If true, when panics occur crash. Intended for testing.
--really-crash-for-testing[=false]: If true, when panics occur crash. Intended for testing.
--reconcile-cidr[=true]: Reconcile node CIDR with the CIDR specified by the API server. No-op if register-node or configure-cbr0 is false. [default=true]
--reconcile-cidr[=true]: Reconcile node CIDR with the CIDR specified by the API server. No-op if register-node or configure-cbr0 is false. [default=true]