Class DisruptionEvent (2.65.0)

DisruptionEvent(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
disruption_type google.cloud.container_v1.types.DisruptionEvent.DisruptionType
The type of the disruption event.
pdb_blocked_node str
The node whose drain is blocked by PDB. This field is set for both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.
pdb_blocked_pod MutableSequence[google.cloud.container_v1.types.DisruptionEvent.PdbBlockedPod]
The pods whose evictions are blocked by PDB. This field is set for both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.
pdb_violation_timeout google.protobuf.duration_pb2.Duration
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. This field is a member of oneof_ _pdb_violation_timeout.

Classes

DisruptionType

DisruptionType(value)

The type of the disruption event.

PdbBlockedPod

PdbBlockedPod(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The namespace/name of the pod whose eviction is blocked by PDB.