// bootstrapping interface for kubelet, targets the initialization protocol
// bootstrapping interface for kubelet, targets the initialization protocol
...
@@ -349,6 +350,7 @@ func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) {
...
@@ -349,6 +350,7 @@ func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) {
fs.IntVar(&s.KubeAPIBurst,"kube-api-burst",s.KubeAPIBurst,"Burst to use while talking with kubernetes apiserver")
fs.IntVar(&s.KubeAPIBurst,"kube-api-burst",s.KubeAPIBurst,"Burst to use while talking with kubernetes apiserver")
fs.BoolVar(&s.SerializeImagePulls,"serialize-image-pulls",s.SerializeImagePulls,"Pull images one at a time. We recommend *not* changing the default value on nodes that run docker daemon with version < 1.9 or an Aufs storage backend. Issue #10959 has more details. [default=true]")
fs.BoolVar(&s.SerializeImagePulls,"serialize-image-pulls",s.SerializeImagePulls,"Pull images one at a time. We recommend *not* changing the default value on nodes that run docker daemon with version < 1.9 or an Aufs storage backend. Issue #10959 has more details. [default=true]")
fs.BoolVar(&s.ExperimentalFlannelOverlay,"experimental-flannel-overlay",s.ExperimentalFlannelOverlay,"Experimental support for starting the kubelet with the default overlay network (flannel). Assumes flanneld is already running in client mode. [default=false]")
fs.BoolVar(&s.ExperimentalFlannelOverlay,"experimental-flannel-overlay",s.ExperimentalFlannelOverlay,"Experimental support for starting the kubelet with the default overlay network (flannel). Assumes flanneld is already running in client mode. [default=false]")
fs.IPVar(&s.NodeIP,"node-ip",s.NodeIP,"IP address of the node. If set, kubelet will use this IP address for the node")
}
}
// UnsecuredKubeletConfig returns a KubeletConfig suitable for being run, or an error if the server setup
// UnsecuredKubeletConfig returns a KubeletConfig suitable for being run, or an error if the server setup