@@ -164,6 +166,7 @@ func (s *CMServer) AddFlags(fs *pflag.FlagSet) {
...
@@ -164,6 +166,7 @@ func (s *CMServer) AddFlags(fs *pflag.FlagSet) {
fs.StringVar(&s.VolumeConfigFlags.PersistentVolumeRecyclerPodTemplateFilePathHostPath,"pv-recycler-pod-template-filepath-hostpath",s.VolumeConfigFlags.PersistentVolumeRecyclerPodTemplateFilePathHostPath,"The file path to a pod definition used as a template for HostPath persistent volume recycling. This is for development and testing only and will not work in a multi-node cluster.")
fs.StringVar(&s.VolumeConfigFlags.PersistentVolumeRecyclerPodTemplateFilePathHostPath,"pv-recycler-pod-template-filepath-hostpath",s.VolumeConfigFlags.PersistentVolumeRecyclerPodTemplateFilePathHostPath,"The file path to a pod definition used as a template for HostPath persistent volume recycling. This is for development and testing only and will not work in a multi-node cluster.")
fs.IntVar(&s.VolumeConfigFlags.PersistentVolumeRecyclerMinimumTimeoutHostPath,"pv-recycler-minimum-timeout-hostpath",s.VolumeConfigFlags.PersistentVolumeRecyclerMinimumTimeoutHostPath,"The minimum ActiveDeadlineSeconds to use for a HostPath Recycler pod. This is for development and testing only and will not work in a multi-node cluster.")
fs.IntVar(&s.VolumeConfigFlags.PersistentVolumeRecyclerMinimumTimeoutHostPath,"pv-recycler-minimum-timeout-hostpath",s.VolumeConfigFlags.PersistentVolumeRecyclerMinimumTimeoutHostPath,"The minimum ActiveDeadlineSeconds to use for a HostPath Recycler pod. This is for development and testing only and will not work in a multi-node cluster.")
fs.IntVar(&s.VolumeConfigFlags.PersistentVolumeRecyclerIncrementTimeoutHostPath,"pv-recycler-timeout-increment-hostpath",s.VolumeConfigFlags.PersistentVolumeRecyclerIncrementTimeoutHostPath,"the increment of time added per Gi to ActiveDeadlineSeconds for a HostPath scrubber pod. This is for development and testing only and will not work in a multi-node cluster.")
fs.IntVar(&s.VolumeConfigFlags.PersistentVolumeRecyclerIncrementTimeoutHostPath,"pv-recycler-timeout-increment-hostpath",s.VolumeConfigFlags.PersistentVolumeRecyclerIncrementTimeoutHostPath,"the increment of time added per Gi to ActiveDeadlineSeconds for a HostPath scrubber pod. This is for development and testing only and will not work in a multi-node cluster.")
fs.IntVar(&s.TerminatedPodGCThreshold,"terminated-pod-gc-threshold",s.TerminatedPodGCThreshold,"Number of terminated pods that can exist before the terminated pod garbage collector starts deleting terminated pods. If <= 0, the terminated pod garbage collector is disabled.")
fs.DurationVar(&s.HorizontalPodAutoscalerSyncPeriod,"horizontal-pod-autoscaler-sync-period",s.HorizontalPodAutoscalerSyncPeriod,"The period for syncing the number of pods in horizontal pod autoscaler.")
fs.DurationVar(&s.HorizontalPodAutoscalerSyncPeriod,"horizontal-pod-autoscaler-sync-period",s.HorizontalPodAutoscalerSyncPeriod,"The period for syncing the number of pods in horizontal pod autoscaler.")
fs.DurationVar(&s.DeploymentControllerSyncPeriod,"deployment-controller-sync-period",s.DeploymentControllerSyncPeriod,"Period for syncing the deployments.")
fs.DurationVar(&s.DeploymentControllerSyncPeriod,"deployment-controller-sync-period",s.DeploymentControllerSyncPeriod,"Period for syncing the deployments.")
fs.DurationVar(&s.PodEvictionTimeout,"pod-eviction-timeout",s.PodEvictionTimeout,"The grace period for deleting pods on failed nodes.")
fs.DurationVar(&s.PodEvictionTimeout,"pod-eviction-timeout",s.PodEvictionTimeout,"The grace period for deleting pods on failed nodes.")