Class: Google::Cloud::Container::V1beta1::BlueGreenSettings

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/container/v1beta1/cluster_service.rb

Overview

Settings for blue-green upgrade.

Defined Under Namespace

Classes: AutoscaledRolloutPolicy, StandardRolloutPolicy

Instance Attribute Summary collapse

Instance Attribute Details

#autoscaled_rollout_policy::Google::Cloud::Container::V1beta1::BlueGreenSettings::AutoscaledRolloutPolicy

Returns Autoscaled policy for cluster autoscaler enabled blue-green upgrade.

Returns:



3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3688

class BlueGreenSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Standard rollout policy is the default policy for blue-green.
  # @!attribute [rw] batch_percentage
  #   @return [::Float]
  #     Percentage of the blue pool nodes to drain in a batch.
  #     The range of this field should be (0.0, 1.0].
  # @!attribute [rw] batch_node_count
  #   @return [::Integer]
  #     Number of blue nodes to drain in a batch.
  # @!attribute [rw] batch_soak_duration
  #   @return [::Google::Protobuf::Duration]
  #     Soak time after each batch gets drained. Default to zero.
  class StandardRolloutPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Autoscaled rollout policy uses cluster autoscaler during
  # blue-green upgrades to scale both the green and blue pools.
  class AutoscaledRolloutPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#node_pool_soak_duration::Google::Protobuf::Duration

Returns Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.

Returns:



3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3688

class BlueGreenSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Standard rollout policy is the default policy for blue-green.
  # @!attribute [rw] batch_percentage
  #   @return [::Float]
  #     Percentage of the blue pool nodes to drain in a batch.
  #     The range of this field should be (0.0, 1.0].
  # @!attribute [rw] batch_node_count
  #   @return [::Integer]
  #     Number of blue nodes to drain in a batch.
  # @!attribute [rw] batch_soak_duration
  #   @return [::Google::Protobuf::Duration]
  #     Soak time after each batch gets drained. Default to zero.
  class StandardRolloutPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Autoscaled rollout policy uses cluster autoscaler during
  # blue-green upgrades to scale both the green and blue pools.
  class AutoscaledRolloutPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#standard_rollout_policy::Google::Cloud::Container::V1beta1::BlueGreenSettings::StandardRolloutPolicy

Returns Standard policy for the blue-green upgrade.

Returns:



3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3688

class BlueGreenSettings
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Standard rollout policy is the default policy for blue-green.
  # @!attribute [rw] batch_percentage
  #   @return [::Float]
  #     Percentage of the blue pool nodes to drain in a batch.
  #     The range of this field should be (0.0, 1.0].
  # @!attribute [rw] batch_node_count
  #   @return [::Integer]
  #     Number of blue nodes to drain in a batch.
  # @!attribute [rw] batch_soak_duration
  #   @return [::Google::Protobuf::Duration]
  #     Soak time after each batch gets drained. Default to zero.
  class StandardRolloutPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Autoscaled rollout policy uses cluster autoscaler during
  # blue-green upgrades to scale both the green and blue pools.
  class AutoscaledRolloutPolicy
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end