Class BlueGreenSettings (2.54.0)

BlueGreenSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Settings for blue-green upgrade.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
standard_rollout_policy google.cloud.container_v1beta1.types.BlueGreenSettings.StandardRolloutPolicy
Standard policy for the blue-green upgrade. This field is a member of oneof_ rollout_policy.
autoscaled_rollout_policy google.cloud.container_v1beta1.types.BlueGreenSettings.AutoscaledRolloutPolicy
Autoscaled policy for cluster autoscaler enabled blue-green upgrade. This field is a member of oneof_ rollout_policy.
node_pool_soak_duration google.protobuf.duration_pb2.Duration
Time needed after draining entire blue pool. After this period, blue pool will be cleaned up. This field is a member of oneof_ _node_pool_soak_duration.

Classes

AutoscaledRolloutPolicy

AutoscaledRolloutPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Autoscaled rollout policy uses cluster autoscaler during blue-green upgrades to scale both the green and blue pools.

StandardRolloutPolicy

StandardRolloutPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Standard rollout policy is the default policy for blue-green.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields