@@ -254,4 +254,7 @@ func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) {
...
@@ -254,4 +254,7 @@ func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) {
fs.StringVar(&s.NodeIP,"node-ip",s.NodeIP,"IP address of the node. If set, kubelet will use this IP address for the node")
fs.StringVar(&s.NodeIP,"node-ip",s.NodeIP,"IP address of the node. If set, kubelet will use this IP address for the node")
fs.BoolVar(&s.EnableCustomMetrics,"enable-custom-metrics",s.EnableCustomMetrics,"Support for gathering custom metrics.")
fs.BoolVar(&s.EnableCustomMetrics,"enable-custom-metrics",s.EnableCustomMetrics,"Support for gathering custom metrics.")
fs.StringVar(&s.RuntimeCgroups,"runtime-cgroups",s.RuntimeCgroups,"Optional absolute name of cgroups to create and run the runtime in.")
fs.StringVar(&s.RuntimeCgroups,"runtime-cgroups",s.RuntimeCgroups,"Optional absolute name of cgroups to create and run the runtime in.")
fs.StringVar(&s.EvictionHard,"eviction-hard",s.EvictionHard,"A set of eviction thresholds (e.g. memory.available<1Gi) that if met would trigger a pod eviction.")
fs.StringVar(&s.EvictionSoft,"eviction-soft",s.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(&s.EvictionSoftGracePeriod,"eviction-soft-grace-period",s.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.")