@@ -411,7 +411,6 @@ func AddKubeletConfigFlags(fs *pflag.FlagSet, c *kubeletconfig.KubeletConfigurat
...
@@ -411,7 +411,6 @@ func AddKubeletConfigFlags(fs *pflag.FlagSet, c *kubeletconfig.KubeletConfigurat
fs.StringVar(&c.CgroupRoot,"cgroup-root",c.CgroupRoot,"Optional root cgroup to use for pods. This is handled by the container runtime on a best effort basis. Default: '', which means use the container runtime default.")
fs.StringVar(&c.CgroupRoot,"cgroup-root",c.CgroupRoot,"Optional root cgroup to use for pods. This is handled by the container runtime on a best effort basis. Default: '', which means use the container runtime default.")
fs.StringVar(&c.CPUManagerPolicy,"cpu-manager-policy",c.CPUManagerPolicy,"<Warning: Alpha feature> CPU Manager policy to use. Possible values: 'none', 'static'. Default: 'none'")
fs.StringVar(&c.CPUManagerPolicy,"cpu-manager-policy",c.CPUManagerPolicy,"<Warning: Alpha feature> CPU Manager policy to use. Possible values: 'none', 'static'. Default: 'none'")
fs.DurationVar(&c.CPUManagerReconcilePeriod.Duration,"cpu-manager-reconcile-period",c.CPUManagerReconcilePeriod.Duration,"<Warning: Alpha feature> CPU Manager reconciliation period. Examples: '10s', or '1m'. If not supplied, defaults to `NodeStatusUpdateFrequency`")
fs.DurationVar(&c.CPUManagerReconcilePeriod.Duration,"cpu-manager-reconcile-period",c.CPUManagerReconcilePeriod.Duration,"<Warning: Alpha feature> CPU Manager reconciliation period. Examples: '10s', or '1m'. If not supplied, defaults to `NodeStatusUpdateFrequency`")
fs.StringVar(&c.ContainerRuntime,"container-runtime",c.ContainerRuntime,"The container runtime to use. Possible values: 'docker', 'rkt'.")
fs.DurationVar(&c.RuntimeRequestTimeout.Duration,"runtime-request-timeout",c.RuntimeRequestTimeout.Duration,"Timeout of all runtime requests except long running request - pull, logs, exec and attach. When timeout exceeded, kubelet will cancel the request, throw out an error and retry later.")
fs.DurationVar(&c.RuntimeRequestTimeout.Duration,"runtime-request-timeout",c.RuntimeRequestTimeout.Duration,"Timeout of all runtime requests except long running request - pull, logs, exec and attach. When timeout exceeded, kubelet will cancel the request, throw out an error and retry later.")
fs.StringVar(&c.LockFilePath,"lock-file",c.LockFilePath,"<Warning: Alpha feature> The path to file for kubelet to use as a lock file.")
fs.StringVar(&c.LockFilePath,"lock-file",c.LockFilePath,"<Warning: Alpha feature> The path to file for kubelet to use as a lock file.")
fs.BoolVar(&c.ExitOnLockContention,"exit-on-lock-contention",c.ExitOnLockContention,"Whether kubelet should exit upon lock-file contention.")
fs.BoolVar(&c.ExitOnLockContention,"exit-on-lock-contention",c.ExitOnLockContention,"Whether kubelet should exit upon lock-file contention.")
...
@@ -435,7 +434,6 @@ func AddKubeletConfigFlags(fs *pflag.FlagSet, c *kubeletconfig.KubeletConfigurat
...
@@ -435,7 +434,6 @@ func AddKubeletConfigFlags(fs *pflag.FlagSet, c *kubeletconfig.KubeletConfigurat
fs.Int32Var(&c.KubeAPIBurst,"kube-api-burst",c.KubeAPIBurst,"Burst to use while talking with kubernetes apiserver")
fs.Int32Var(&c.KubeAPIBurst,"kube-api-burst",c.KubeAPIBurst,"Burst to use while talking with kubernetes apiserver")
fs.BoolVar(&c.SerializeImagePulls,"serialize-image-pulls",c.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.")
fs.BoolVar(&c.SerializeImagePulls,"serialize-image-pulls",c.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.")
fs.StringVar(&c.RuntimeCgroups,"runtime-cgroups",c.RuntimeCgroups,"Optional absolute name of cgroups to create and run the runtime in.")
fs.StringVar(&c.EvictionHard,"eviction-hard",c.EvictionHard,"A set of eviction thresholds (e.g. memory.available<1Gi) that if met would trigger a pod eviction.")
fs.StringVar(&c.EvictionHard,"eviction-hard",c.EvictionHard,"A set of eviction thresholds (e.g. memory.available<1Gi) that if met would trigger a pod eviction.")
fs.StringVar(&c.EvictionSoft,"eviction-soft",c.EvictionSoft,"A set of eviction thresholds (e.g. memory.available<1.5Gi) that if met over a corresponding grace period would trigger a pod eviction.")
fs.StringVar(&c.EvictionSoft,"eviction-soft",c.EvictionSoft,"A set of eviction thresholds (e.g. memory.available<1.5Gi) that if met over a corresponding grace period would trigger a pod eviction.")
fs.StringVar(&c.EvictionSoftGracePeriod,"eviction-soft-grace-period",c.EvictionSoftGracePeriod,"A set of eviction grace periods (e.g. memory.available=1m30s) that correspond to how long a soft eviction threshold must hold before triggering a pod eviction.")
fs.StringVar(&c.EvictionSoftGracePeriod,"eviction-soft-grace-period",c.EvictionSoftGracePeriod,"A set of eviction grace periods (e.g. memory.available=1m30s) that correspond to how long a soft eviction threshold must hold before triggering a pod eviction.")
fs.StringVar(&s.ContainerRuntime,"container-runtime",s.ContainerRuntime,"The container runtime to use. Possible values: 'docker', 'rkt'.")
fs.StringVar(&s.RuntimeCgroups,"runtime-cgroups",s.RuntimeCgroups,"Optional absolute name of cgroups to create and run the runtime in.")
// Docker-specific settings.
// Docker-specific settings.
fs.BoolVar(&s.ExperimentalDockershim,"experimental-dockershim",s.ExperimentalDockershim,"Enable dockershim only mode. In this mode, kubelet will only start dockershim without any other functionalities. This flag only serves test purpose, please do not use it unless you are conscious of what you are doing. [default=false]")
fs.BoolVar(&s.ExperimentalDockershim,"experimental-dockershim",s.ExperimentalDockershim,"Enable dockershim only mode. In this mode, kubelet will only start dockershim without any other functionalities. This flag only serves test purpose, please do not use it unless you are conscious of what you are doing. [default=false]")