Google Kubernetes Engine v1 API - Class DisruptionEvent (3.37.0)

public sealed class DisruptionEvent : IMessage<DisruptionEvent>, IEquatable<DisruptionEvent>, IDeepCloneable<DisruptionEvent>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Kubernetes Engine v1 API class DisruptionEvent.

DisruptionEvent is a notification sent to customers about the disruption event of a resource.

Inheritance

object > DisruptionEvent

Namespace

Google.Cloud.Container.V1

Assembly

Google.Cloud.Container.V1.dll

Constructors

DisruptionEvent()

public DisruptionEvent()

DisruptionEvent(DisruptionEvent)

public DisruptionEvent(DisruptionEvent other)
Parameter
Name Description
other DisruptionEvent

Properties

DisruptionType

public DisruptionEvent.Types.DisruptionType DisruptionType { get; set; }

The type of the disruption event.

Property Value
Type Description
DisruptionEventTypesDisruptionType

PdbBlockedNode

public string PdbBlockedNode { get; set; }

The node whose drain is blocked by PDB. This field is set for both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.

Property Value
Type Description
string

PdbBlockedPod

public RepeatedField<DisruptionEvent.Types.PdbBlockedPod> PdbBlockedPod { get; }

The pods whose evictions are blocked by PDB. This field is set for both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.

Property Value
Type Description
RepeatedFieldDisruptionEventTypesPdbBlockedPod

PdbViolationTimeout

public Duration PdbViolationTimeout { get; set; }

The timeout in seconds for which the node drain is blocked by PDB. After this timeout, pods are forcefully evicted. This field is only populated when event_type is POD_PDB_VIOLATION.

Property Value
Type Description
Duration