Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::DisruptionBudget.
DisruptionBudget defines the upgrade disruption budget for the cluster control plane.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#last_disruption_time
def last_disruption_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The last time a disruption was performed on the control plane.
#last_minor_version_disruption_time
def last_minor_version_disruption_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The last time a minor version upgrade was performed on the control plane.
#minor_version_disruption_interval
def minor_version_disruption_interval() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Optional. The minimum duration between two minor version upgrades of the control plane.
#minor_version_disruption_interval=
def minor_version_disruption_interval=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Optional. The minimum duration between two minor version upgrades of the control plane.
Returns
- (::Google::Protobuf::Duration) — Optional. The minimum duration between two minor version upgrades of the control plane.
#patch_version_disruption_interval
def patch_version_disruption_interval() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Optional. The minimum duration between two patch version upgrades of the control plane.
#patch_version_disruption_interval=
def patch_version_disruption_interval=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Optional. The minimum duration between two patch version upgrades of the control plane.
Returns
- (::Google::Protobuf::Duration) — Optional. The minimum duration between two patch version upgrades of the control plane.