@@ -231,7 +231,7 @@ func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) {
...
@@ -231,7 +231,7 @@ func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) {
fs.IPVar(&s.HealthzBindAddress,"healthz-bind-address",s.HealthzBindAddress,"The IP address for the healthz server to serve on, defaulting to 127.0.0.1 (set to 0.0.0.0 for all interfaces)")
fs.IPVar(&s.HealthzBindAddress,"healthz-bind-address",s.HealthzBindAddress,"The IP address for the healthz server to serve on, defaulting to 127.0.0.1 (set to 0.0.0.0 for all interfaces)")
fs.IntVar(&s.OOMScoreAdj,"oom-score-adj",s.OOMScoreAdj,"The oom-score-adj value for kubelet process. Values must be within the range [-1000, 1000]")
fs.IntVar(&s.OOMScoreAdj,"oom-score-adj",s.OOMScoreAdj,"The oom-score-adj value for kubelet process. Values must be within the range [-1000, 1000]")
fs.StringSliceVar(&s.APIServerList,"api-servers",[]string{},"List of Kubernetes API servers for publishing events, and reading pods and services. (ip:port), comma separated.")
fs.StringSliceVar(&s.APIServerList,"api-servers",[]string{},"List of Kubernetes API servers for publishing events, and reading pods and services. (ip:port), comma separated.")
fs.BoolVar(&s.RegisterNode,"register-node",s.RegisterNode,"Register the node with the apiserver (defaults to true if --api-server is set)")
fs.BoolVar(&s.RegisterNode,"register-node",s.RegisterNode,"Register the node with the apiserver (defaults to true if --api-servers is set)")
fs.StringVar(&s.ClusterDomain,"cluster-domain",s.ClusterDomain,"Domain for this cluster. If set, kubelet will configure all containers to search this domain in addition to the host's search domains")
fs.StringVar(&s.ClusterDomain,"cluster-domain",s.ClusterDomain,"Domain for this cluster. If set, kubelet will configure all containers to search this domain in addition to the host's search domains")
fs.StringVar(&s.MasterServiceNamespace,"master-service-namespace",s.MasterServiceNamespace,"The namespace from which the kubernetes master services should be injected into pods")
fs.StringVar(&s.MasterServiceNamespace,"master-service-namespace",s.MasterServiceNamespace,"The namespace from which the kubernetes master services should be injected into pods")
fs.IPVar(&s.ClusterDNS,"cluster-dns",s.ClusterDNS,"IP address for a cluster DNS server. If set, kubelet will configure all containers to use this for DNS resolution in addition to the host's DNS servers")
fs.IPVar(&s.ClusterDNS,"cluster-dns",s.ClusterDNS,"IP address for a cluster DNS server. If set, kubelet will configure all containers to use this for DNS resolution in addition to the host's DNS servers")