fs.BoolVar(&ms.runProxy,"run-proxy",ms.runProxy,"Maintain a running kube-proxy instance as a child proc of this kubelet-executor.")
fs.BoolVar(&ms.runProxy,"run-proxy",ms.runProxy,"Maintain a running kube-proxy instance as a child proc of this kubelet-executor.")
fs.StringVar(&ms.proxyKubeconfig,"proxy-kubeconfig",ms.proxyKubeconfig,"Path to kubeconfig file used by the child kube-proxy.")
fs.IntVar(&ms.proxyLogV,"proxy-logv",ms.proxyLogV,"Log verbosity of the child kube-proxy.")
fs.IntVar(&ms.proxyLogV,"proxy-logv",ms.proxyLogV,"Log verbosity of the child kube-proxy.")
fs.BoolVar(&ms.proxyBindall,"proxy-bindall",ms.proxyBindall,"When true will cause kube-proxy to bind to 0.0.0.0.")
fs.BoolVar(&ms.proxyBindall,"proxy-bindall",ms.proxyBindall,"When true will cause kube-proxy to bind to 0.0.0.0.")
fs.StringVar(&ms.proxyMode,"proxy-mode",ms.proxyMode,"Which proxy mode to use: 'userspace' (older) or 'iptables' (faster). If the iptables proxy is selected, regardless of how, but the system's kernel or iptables versions are insufficient, this always falls back to the userspace proxy.")
fs.StringVar(&ms.proxyMode,"proxy-mode",ms.proxyMode,"Which proxy mode to use: 'userspace' (older) or 'iptables' (faster). If the iptables proxy is selected, regardless of how, but the system's kernel or iptables versions are insufficient, this always falls back to the userspace proxy.")
@@ -134,10 +134,11 @@ type SchedulerServer struct {
...
@@ -134,10 +134,11 @@ type SchedulerServer struct {
launchGracePeriodtime.Duration
launchGracePeriodtime.Duration
kubeletEnableDebuggingHandlersbool
kubeletEnableDebuggingHandlersbool
runProxybool
runProxybool
proxyBindallbool
proxyBindallbool
proxyLogVint
proxyKubeconfigstring
proxyModestring
proxyLogVint
proxyModestring
minionPathOverridestring
minionPathOverridestring
minionLogMaxSizeresource.Quantity
minionLogMaxSizeresource.Quantity
...
@@ -309,6 +310,7 @@ func (s *SchedulerServer) addCoreFlags(fs *pflag.FlagSet) {
...
@@ -309,6 +310,7 @@ func (s *SchedulerServer) addCoreFlags(fs *pflag.FlagSet) {
fs.BoolVar(&s.proxyBindall,"proxy-bindall",s.proxyBindall,"When true pass -proxy-bindall to the executor.")
fs.BoolVar(&s.proxyBindall,"proxy-bindall",s.proxyBindall,"When true pass -proxy-bindall to the executor.")
fs.BoolVar(&s.runProxy,"run-proxy",s.runProxy,"Run the kube-proxy as a side process of the executor.")
fs.BoolVar(&s.runProxy,"run-proxy",s.runProxy,"Run the kube-proxy as a side process of the executor.")
fs.StringVar(&s.proxyKubeconfig,"proxy-kubeconfig",s.proxyKubeconfig,"Path to kubeconfig file with authorization and master location information used by the proxy.")
fs.IntVar(&s.proxyLogV,"proxy-logv",s.proxyLogV,"Logging verbosity of spawned minion proxy processes.")
fs.IntVar(&s.proxyLogV,"proxy-logv",s.proxyLogV,"Logging verbosity of spawned minion proxy processes.")
fs.StringVar(&s.proxyMode,"proxy-mode",s.proxyMode,"Which proxy mode to use: 'userspace' (older) or 'iptables' (faster). If the iptables proxy is selected, regardless of how, but the system's kernel or iptables versions are insufficient, this always falls back to the userspace proxy.")
fs.StringVar(&s.proxyMode,"proxy-mode",s.proxyMode,"Which proxy mode to use: 'userspace' (older) or 'iptables' (faster). If the iptables proxy is selected, regardless of how, but the system's kernel or iptables versions are insufficient, this always falls back to the userspace proxy.")
...
@@ -405,6 +407,12 @@ func (s *SchedulerServer) prepareExecutorInfo(hks hyperkube.Interface) (*mesos.E
...
@@ -405,6 +407,12 @@ func (s *SchedulerServer) prepareExecutorInfo(hks hyperkube.Interface) (*mesos.E