def ParseUpdateNodePoolOptions(self, args):
     flags.ValidateSurgeUpgradeSettings(args)
     ops = api_adapter.UpdateNodePoolOptions(
         enable_autorepair=args.enable_autorepair,
         enable_autoupgrade=args.enable_autoupgrade,
         enable_autoscaling=args.enable_autoscaling,
         max_nodes=args.max_nodes,
         min_nodes=args.min_nodes,
         location_policy=args.location_policy,
         enable_autoprovisioning=args.enable_autoprovisioning,
         workload_metadata=args.workload_metadata,
         workload_metadata_from_node=args.workload_metadata_from_node,
         node_locations=args.node_locations,
         max_surge_upgrade=args.max_surge_upgrade,
         max_unavailable_upgrade=args.max_unavailable_upgrade,
         system_config_from_file=args.system_config_from_file,
         node_labels=args.node_labels,
         node_taints=args.node_taints,
         tags=args.tags,
         enable_private_nodes=args.enable_private_nodes,
         enable_gcfs=args.enable_gcfs,
         gvnic=args.enable_gvnic,
         enable_image_streaming=args.enable_image_streaming,
         enable_blue_green_update=args.enable_blue_green_update,
         enable_rolling_update=args.enable_rolling_update,
         node_pool_soak_duration=args.node_pool_soak_duration,
         standard_rollout_policy=args.standard_rollout_policy,
         network_performance_config=args.network_performance_configs,
         enable_confidential_nodes=args.enable_confidential_nodes)
     return ops
示例#2
0
 def ParseUpdateNodePoolOptions(self, args):
     return api_adapter.UpdateNodePoolOptions(
         enable_autorepair=args.enable_autorepair,
         enable_autoupgrade=args.enable_autoupgrade,
         enable_autoscaling=args.enable_autoscaling,
         max_nodes=args.max_nodes,
         min_nodes=args.min_nodes,
         enable_autoprovisioning=args.enable_autoprovisioning)
示例#3
0
 def ParseUpdateNodePoolOptions(self, args):
     ops = api_adapter.UpdateNodePoolOptions(
         enable_autorepair=args.enable_autorepair,
         enable_autoupgrade=args.enable_autoupgrade,
         enable_autoscaling=args.enable_autoscaling,
         max_nodes=args.max_nodes,
         min_nodes=args.min_nodes,
         enable_autoprovisioning=args.enable_autoprovisioning,
         workload_metadata_from_node=args.workload_metadata_from_node)
     return ops
示例#4
0
文件: update.py 项目: Shiyu-D/webset
 def ParseUpdateNodePoolOptions(self, args):
     flags.ValidateSurgeUpgradeSettings(args)
     return api_adapter.UpdateNodePoolOptions(
         enable_autorepair=args.enable_autorepair,
         enable_autoupgrade=args.enable_autoupgrade,
         enable_autoscaling=args.enable_autoscaling,
         max_nodes=args.max_nodes,
         min_nodes=args.min_nodes,
         enable_autoprovisioning=args.enable_autoprovisioning,
         max_surge_upgrade=args.max_surge_upgrade,
         max_unavailable_upgrade=args.max_unavailable_upgrade)
示例#5
0
文件: update.py 项目: Shiyu-D/webset
 def ParseUpdateNodePoolOptions(self, args):
     flags.ValidateSurgeUpgradeSettings(args)
     ops = api_adapter.UpdateNodePoolOptions(
         enable_autorepair=args.enable_autorepair,
         enable_autoupgrade=args.enable_autoupgrade,
         enable_autoscaling=args.enable_autoscaling,
         max_nodes=args.max_nodes,
         min_nodes=args.min_nodes,
         enable_autoprovisioning=args.enable_autoprovisioning,
         workload_metadata_from_node=args.workload_metadata_from_node,
         node_locations=args.node_locations,
         max_surge_upgrade=args.max_surge_upgrade,
         max_unavailable_upgrade=args.max_unavailable_upgrade)
     return ops
示例#6
0
 def ParseUpdateNodePoolOptions(self, args):
   return api_adapter.UpdateNodePoolOptions(
       enable_autorepair=args.enable_autorepair,
       enable_autoupgrade=args.enable_autoupgrade)