Пример #1
0
 def Args(parser):
     managed_instance_groups_utils.AddAutoscalerArgs(
         parser=parser, autoscaling_file_enabled=True, patch_args=False)
     instance_groups_flags.MULTISCOPE_INSTANCE_GROUP_MANAGER_ARG.AddArgument(
         parser)
     managed_instance_groups_utils.AddPredictiveAutoscaling(parser,
                                                            standard=True)
 def Args(parser):
     _CommonArgs(parser)
     mig_utils.AddPredictiveAutoscaling(parser, standard=False)
 def Args(parser):
     _CommonArgs(parser)
     mig_utils.AddPredictiveAutoscaling(parser)
     mig_utils.AddClearScaleDownControlFlag(parser)
Пример #4
0
 def Args(parser):
     _CommonArgs(parser)
     mig_utils.AddScaleInControlFlag(parser, include_clear=True)
     mig_utils.AddPredictiveAutoscaling(parser)
Пример #5
0
 def Args(parser):
   _CommonArgs(parser)
   mig_utils.AddMinMaxControl(parser, max_required=False)
   mig_utils.AddPredictiveAutoscaling(parser)
   mig_utils.AddScheduledAutoscaling(parser, patch_args=True)