@@ -179,7 +180,8 @@ func (s *KubeletServer) AddFlags(fs *pflag.FlagSet) {
fs.StringVar(&s.VolumePluginDir,"volume-plugin-dir",s.VolumePluginDir,"<Warning: Alpha feature> The full path of the directory in which to search for additional third party volume plugins")
fs.StringVar(&s.CloudProvider,"cloud-provider",s.CloudProvider,"The provider for cloud services. By default, kubelet will attempt to auto-detect the cloud provider. Specify empty string for running with no cloud provider. [default=auto-detect]")
fs.StringVar(&s.CloudConfigFile,"cloud-config",s.CloudConfigFile,"The path to the cloud provider configuration file. Empty string for no configuration file.")
utilconfig.DefaultFeatureGate.AddFlag(fs)
fs.StringVar(&s.FeatureGates,"feature-gates",s.FeatureGates,"A set of key=value pairs that describe feature gates for alpha/experimental features. "+
fs.StringVar(&s.KubeletCgroups,"resource-container",s.KubeletCgroups,"Optional absolute name of the resource-only container to create and run the Kubelet in.")
fs.MarkDeprecated("resource-container","Use --kubelet-cgroups instead. Will be removed in a future version.")