Skip to content

k8s_exceptions

drunc.k8s_exceptions

Classes

DruncK8sException(*args, **kwargs)

Bases: DruncException

Exception thrown when there is a Kubernetes error.

Source code in drunc/exceptions.py
def __init__(self, *args, **kwargs):
    super().__init__(*args, **kwargs)

DruncK8sNamespaceException(*args, **kwargs)

Bases: DruncException

Exception thrown for namespace-related errors.

Source code in drunc/exceptions.py
def __init__(self, *args, **kwargs):
    super().__init__(*args, **kwargs)

DruncK8sNodeException(*args, **kwargs)

Bases: DruncException

Exception thrown for node-related errors such as unavailable or invalid nodes.

Source code in drunc/exceptions.py
def __init__(self, *args, **kwargs):
    super().__init__(*args, **kwargs)

DruncK8sPodException(*args, **kwargs)

Bases: DruncException

Exception thrown for pod-related errors.

Source code in drunc/exceptions.py
def __init__(self, *args, **kwargs):
    super().__init__(*args, **kwargs)