@@ -70,9 +70,9 @@ func (s *CloudControllerManagerServer) AddFlags(fs *pflag.FlagSet) {
fs.Int32Var(&s.Port,"port",s.Port,"The port that the cloud-controller-manager's http service runs on.")
fs.Var(componentconfig.IPVar{Val:&s.Address},"address","The IP address to serve on (set to 0.0.0.0 for all interfaces).")
fs.StringVar(&s.CloudProvider,"cloud-provider",s.CloudProvider,"The provider of cloud services. Cannot be empty.")
fs.StringVar(&s.CloudConfigFile,"cloud-config",s.CloudConfigFile,"The path to the cloud provider configuration file. Empty string for no configuration file.")
fs.BoolVar(&s.AllowUntaggedCloud,"allow-untagged-cloud",false,"Allow the cluster to run without the cluster-id on cloud instances. This is a legacy mode of operation and a cluster-id will be required in the future.")
fs.MarkDeprecated("allow-untagged-cloud","This flag is deprecated and will be removed in a future release. A cluster-id will be required on cloud instances.")
fs.StringVar(&s.CloudConfigFile,"cloud-config",s.CloudConfigFile,"The path to the cloud provider configuration file. Empty string for no configuration file.")
fs.BoolVar(&s.AllowUntaggedCloud,"allow-untagged-cloud",false,"Allow the cluster to run without the cluster-id on cloud instances. This is a legacy mode of operation and a cluster-id will be required in the future.")
fs.MarkDeprecated("allow-untagged-cloud","This flag is deprecated and will be removed in a future release. A cluster-id will be required on cloud instances.")
fs.DurationVar(&s.MinResyncPeriod.Duration,"min-resync-period",s.MinResyncPeriod.Duration,"The resync period in reflectors will be random between MinResyncPeriod and 2*MinResyncPeriod.")
"The period for syncing NodeStatus in NodeController.")
...
...
@@ -81,11 +81,11 @@ func (s *CloudControllerManagerServer) AddFlags(fs *pflag.FlagSet) {
fs.BoolVar(&s.UseServiceAccountCredentials,"use-service-account-credentials",s.UseServiceAccountCredentials,"If true, use individual service account credentials for each controller.")
fs.DurationVar(&s.RouteReconciliationPeriod.Duration,"route-reconciliation-period",s.RouteReconciliationPeriod.Duration,"The period for reconciling routes created for Nodes by cloud provider.")
fs.BoolVar(&s.ConfigureCloudRoutes,"configure-cloud-routes",true,"Should CIDRs allocated by allocate-node-cidrs be configured on the cloud provider.")
fs.BoolVar(&s.EnableProfiling,"profiling",true,"Enable profiling via web interface host:port/debug/pprof/")
fs.BoolVar(&s.EnableProfiling,"profiling",true,"Enable profiling via web interface host:port/debug/pprof/.")
fs.BoolVar(&s.EnableContentionProfiling,"contention-profiling",false,"Enable lock contention profiling, if profiling is enabled.")
fs.StringVar(&s.ClusterCIDR,"cluster-cidr",s.ClusterCIDR,"CIDR Range for Pods in cluster.")
fs.BoolVar(&s.AllocateNodeCIDRs,"allocate-node-cidrs",false,"Should CIDRs for Pods be allocated and set on the cloud provider.")
fs.StringVar(&s.Master,"master",s.Master,"The address of the Kubernetes API server (overrides any value in kubeconfig)")
fs.StringVar(&s.Master,"master",s.Master,"The address of the Kubernetes API server (overrides any value in kubeconfig).")
fs.StringVar(&s.Kubeconfig,"kubeconfig",s.Kubeconfig,"Path to kubeconfig file with authorization and master location information.")
fs.StringVar(&s.ContentType,"kube-api-content-type",s.ContentType,"Content type of requests sent to apiserver.")
fs.Float32Var(&s.KubeAPIQPS,"kube-api-qps",s.KubeAPIQPS,"QPS to use while talking with kubernetes apiserver.")