Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::BlueGreenSettings.
Settings for blue-green upgrade.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#autoscaled_rollout_policy
def autoscaled_rollout_policy() -> ::Google::Cloud::Container::V1beta1::BlueGreenSettings::AutoscaledRolloutPolicy
Returns
- (::Google::Cloud::Container::V1beta1::BlueGreenSettings::AutoscaledRolloutPolicy) — Autoscaled policy for cluster autoscaler enabled blue-green upgrade.
#autoscaled_rollout_policy=
def autoscaled_rollout_policy=(value) -> ::Google::Cloud::Container::V1beta1::BlueGreenSettings::AutoscaledRolloutPolicy
Parameter
- value (::Google::Cloud::Container::V1beta1::BlueGreenSettings::AutoscaledRolloutPolicy) — Autoscaled policy for cluster autoscaler enabled blue-green upgrade.
Returns
- (::Google::Cloud::Container::V1beta1::BlueGreenSettings::AutoscaledRolloutPolicy) — Autoscaled policy for cluster autoscaler enabled blue-green upgrade.
#node_pool_soak_duration
def node_pool_soak_duration() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
#node_pool_soak_duration=
def node_pool_soak_duration=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
Returns
- (::Google::Protobuf::Duration) — Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
#standard_rollout_policy
def standard_rollout_policy() -> ::Google::Cloud::Container::V1beta1::BlueGreenSettings::StandardRolloutPolicy
Returns
- (::Google::Cloud::Container::V1beta1::BlueGreenSettings::StandardRolloutPolicy) — Standard policy for the blue-green upgrade.
#standard_rollout_policy=
def standard_rollout_policy=(value) -> ::Google::Cloud::Container::V1beta1::BlueGreenSettings::StandardRolloutPolicy
Parameter
- value (::Google::Cloud::Container::V1beta1::BlueGreenSettings::StandardRolloutPolicy) — Standard policy for the blue-green upgrade.
Returns
- (::Google::Cloud::Container::V1beta1::BlueGreenSettings::StandardRolloutPolicy) — Standard policy for the blue-green upgrade.