Class: Google::Cloud::Container::V1beta1::NodePool::UpdateInfo::BlueGreenInfo
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1beta1::NodePool::UpdateInfo::BlueGreenInfo
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/container/v1beta1/cluster_service.rb
Overview
Information relevant to blue-green upgrade.
Defined Under Namespace
Modules: Phase
Instance Attribute Summary collapse
-
#blue_instance_group_urls ⇒ ::Array<::String>
The resource URLs of the managed instance groups associated with blue pool.
-
#blue_pool_deletion_start_time ⇒ ::String
Time to start deleting blue pool to complete blue-green upgrade, in RFC3339 text format.
-
#green_instance_group_urls ⇒ ::Array<::String>
The resource URLs of the managed instance groups associated with green pool.
-
#green_pool_version ⇒ ::String
Version of green pool.
-
#phase ⇒ ::Google::Cloud::Container::V1beta1::NodePool::UpdateInfo::BlueGreenInfo::Phase
Current blue-green upgrade phase.
Instance Attribute Details
#blue_instance_group_urls ⇒ ::Array<::String>
Returns The resource URLs of the managed instance groups associated with blue pool.
4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4102 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 |
#blue_pool_deletion_start_time ⇒ ::String
Returns Time to start deleting blue pool to complete blue-green upgrade, in RFC3339 text format.
4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4102 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 |
#green_instance_group_urls ⇒ ::Array<::String>
Returns The resource URLs of the managed instance groups associated with green pool.
4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4102 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 |
#green_pool_version ⇒ ::String
Returns Version of green pool.
4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4102 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 |
#phase ⇒ ::Google::Cloud::Container::V1beta1::NodePool::UpdateInfo::BlueGreenInfo::Phase
Returns Current blue-green upgrade phase.
4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 4102 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 |