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:



3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 3208

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 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