@@ -69,7 +69,7 @@ func (s *ProxyServer) AddFlags(fs *pflag.FlagSet) {
fs.Var(&s.HealthzBindAddress,"healthz-bind-address","The IP address for the health check 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 kube-proxy process. Values must be within the range [-1000, 1000]")
fs.StringVar(&s.ResourceContainer,"resource-container",s.ResourceContainer,"Absolute name of the resource-only container to create and run the Kube-proxy in (Default: /kube-proxy).")
fs.StringVar(&s.Kubeconfig,"kubeconfig",s.Kubeconfig,"Path to kubeconfig file with authorization and master location information.")
fs.StringVar(&s.Kubeconfig,"kubeconfig",s.Kubeconfig,"Path to kubeconfig file with authorization information (the master location is set by the master flag).")
}
// Run runs the specified ProxyServer. This should never exit.
@@ -196,8 +200,9 @@ func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) {
fs.DurationVar(&s.MinimumGCAge,"minimum-container-ttl-duration",s.MinimumGCAge,"Minimum age for a finished container before it is garbage collected. Examples: '300ms', '10s' or '2h45m'")
fs.IntVar(&s.MaxPerPodContainerCount,"maximum-dead-containers-per-container",s.MaxPerPodContainerCount,"Maximum number of old instances of a container to retain per container. Each container takes up some disk space. Default: 5.")
fs.IntVar(&s.MaxContainerCount,"maximum-dead-containers",s.MaxContainerCount,"Maximum number of old instances of a containers to retain globally. Each container takes up some disk space. Default: 100.")
fs.StringVar(&s.AuthPath,"auth-path",s.AuthPath,"Path to .kubernetes_auth file, specifying how to authenticate to API server.")
fs.Var(&s.AuthPath,"auth-path","Path to .kubernetes_auth file, specifying how to authenticate to API server.")
fs.MarkDeprecated("auth-path","will be removed in a future version")
fs.Var(&s.KubeConfig,"kubeconfig","Path to a kubeconfig file, specifying how to authenticate to API server (the master location is set by the api-servers flag).")
fs.UintVar(&s.CadvisorPort,"cadvisor-port",s.CadvisorPort,"The port of the localhost cAdvisor endpoint")
fs.IntVar(&s.HealthzPort,"healthz-port",s.HealthzPort,"The port of the localhost healthz endpoint")
fs.Var(&s.HealthzBindAddress,"healthz-bind-address","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)")