@@ -157,6 +160,7 @@ func (s *CMServer) AddFlags(fs *pflag.FlagSet) {
fs.DurationVar(&s.ResourceQuotaSyncPeriod,"resource-quota-sync-period",s.ResourceQuotaSyncPeriod,"The period for syncing quota usage status in the system")
fs.DurationVar(&s.NamespaceSyncPeriod,"namespace-sync-period",s.NamespaceSyncPeriod,"The period for syncing namespace life-cycle updates")
fs.DurationVar(&s.PVClaimBinderSyncPeriod,"pvclaimbinder-sync-period",s.PVClaimBinderSyncPeriod,"The period for syncing persistent volumes and persistent volume claims")
fs.DurationVar(&s.MinResyncPeriod,"min-resync-period",s.MinResyncPeriod,"The resync period in reflectors will be random between MinResyncPeriod and 2*MinResyncPeriod")
fs.StringVar(&s.VolumeConfigFlags.PersistentVolumeRecyclerPodTemplateFilePathNFS,"pv-recycler-pod-template-filepath-nfs",s.VolumeConfigFlags.PersistentVolumeRecyclerPodTemplateFilePathNFS,"The file path to a pod definition used as a template for NFS persistent volume recycling")
fs.IntVar(&s.VolumeConfigFlags.PersistentVolumeRecyclerMinimumTimeoutNFS,"pv-recycler-minimum-timeout-nfs",s.VolumeConfigFlags.PersistentVolumeRecyclerMinimumTimeoutNFS,"The minimum ActiveDeadlineSeconds to use for an NFS Recycler pod")
fs.IntVar(&s.VolumeConfigFlags.PersistentVolumeRecyclerIncrementTimeoutNFS,"pv-recycler-increment-timeout-nfs",s.VolumeConfigFlags.PersistentVolumeRecyclerIncrementTimeoutNFS,"the increment of time added per Gi to ActiveDeadlineSeconds for an NFS scrubber pod")
...
...
@@ -191,6 +195,11 @@ func (s *CMServer) AddFlags(fs *pflag.FlagSet) {
fs.BoolVar(&s.EnableExperimental,"enable-experimental",s.EnableExperimental,"Enables experimental controllers (requires enabling experimental API on apiserver).")
@@ -72,6 +74,11 @@ func (s *CMServer) AddFlags(fs *pflag.FlagSet) {
fs.BoolVar(&s.UseHostPortEndpoints,"host_port_endpoints",s.UseHostPortEndpoints,"Map service endpoints to hostIP:hostPort instead of podIP:containerPort. Default true.")