Class: Google::Cloud::Container::V1beta1::NodePool::UpdateInfo

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

Overview

UpdateInfo contains resource (instance groups, etc), status and other intermediate information relevant to a node pool upgrade.

Defined Under Namespace

Classes: BlueGreenInfo

Instance Attribute Summary collapse

Instance Attribute Details

#blue_green_info::Google::Cloud::Container::V1beta1::NodePool::UpdateInfo::BlueGreenInfo

Returns Information of a blue-green upgrade.

Returns:



3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3875

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

  # Information relevant to blue-green upgrade.
  # @!attribute [rw] phase
  #   @return [::Google::Cloud::Container::V1beta1::NodePool::UpdateInfo::BlueGreenInfo::Phase]
  #     Current blue-green upgrade phase.
  # @!attribute [rw] blue_instance_group_urls
  #   @return [::Array<::String>]
  #     The resource URLs of the [managed instance groups]
  #     (/compute/docs/instance-groups/creating-groups-of-managed-instances)
  #     associated with blue pool.
  # @!attribute [rw] green_instance_group_urls
  #   @return [::Array<::String>]
  #     The resource URLs of the [managed instance groups]
  #     (/compute/docs/instance-groups/creating-groups-of-managed-instances)
  #     associated with green pool.
  # @!attribute [rw] blue_pool_deletion_start_time
  #   @return [::String]
  #     Time to start deleting blue pool to complete blue-green upgrade,
  #     in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
  # @!attribute [rw] green_pool_version
  #   @return [::String]
  #     Version of green pool.
  class BlueGreenInfo
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Phase represents the different stages blue-green upgrade is running in.
    module Phase
      # Unspecified phase.
      PHASE_UNSPECIFIED = 0

      # blue-green upgrade has been initiated.
      UPDATE_STARTED = 1

      # Start creating green pool nodes.
      CREATING_GREEN_POOL = 2

      # Start cordoning blue pool nodes.
      CORDONING_BLUE_POOL = 3

      # Start waiting after cordoning the blue pool and before draining it.
      WAITING_TO_DRAIN_BLUE_POOL = 8

      # Start draining blue pool nodes.
      DRAINING_BLUE_POOL = 4

      # Start soaking time after draining entire blue pool.
      NODE_POOL_SOAKING = 5

      # Start deleting blue nodes.
      DELETING_BLUE_POOL = 6

      # Rollback has been initiated.
      ROLLBACK_STARTED = 7
    end
  end
end