enableLogsSupport=flag.Bool("enable_logs_support",true,"Enables server endpoint for log collection")
enableLogsSupport=flag.Bool("enable_logs_support",true,"Enables server endpoint for log collection")
runtimeConfigutil.ConfigurationMap
kubeletConfig=client.KubeletConfig{
kubeletConfig=client.KubeletConfig{
Port:10250,
Port:10250,
EnableHttps:false,
EnableHttps:false,
...
@@ -89,10 +90,13 @@ var (
...
@@ -89,10 +90,13 @@ var (
)
)
funcinit(){
funcinit(){
runtimeConfig=make(util.ConfigurationMap)
flag.Var(&address,"address","The IP address on to serve on (set to 0.0.0.0 for all interfaces)")
flag.Var(&address,"address","The IP address on to serve on (set to 0.0.0.0 for all interfaces)")
flag.Var(&etcdServerList,"etcd_servers","List of etcd servers to watch (http://ip:port), comma separated. Mutually exclusive with -etcd_config")
flag.Var(&etcdServerList,"etcd_servers","List of etcd servers to watch (http://ip:port), comma separated. Mutually exclusive with -etcd_config")
flag.Var(&corsAllowedOriginList,"cors_allowed_origins","List of allowed origins for CORS, comma separated. An allowed origin can be a regular expression to support subdomain matching. If this list is empty CORS will not be enabled.")
flag.Var(&corsAllowedOriginList,"cors_allowed_origins","List of allowed origins for CORS, comma separated. An allowed origin can be a regular expression to support subdomain matching. If this list is empty CORS will not be enabled.")
flag.Var(&portalNet,"portal_net","A CIDR notation IP range from which to assign portal IPs. This must not overlap with any IP ranges assigned to nodes for pods.")
flag.Var(&portalNet,"portal_net","A CIDR notation IP range from which to assign portal IPs. This must not overlap with any IP ranges assigned to nodes for pods.")
flag.Var(&runtimeConfig,"runtime_config","A set of key=value pairs that describe runtime configuration that may be passed to the apiserver.")