Interface: KubePDB

    lib/k8s/podDisruptionBudget .KubePDB

    Hierarchy

    Properties

    apiVersion

    Optional apiVersion: string

    Inherited from

    KubeObjectInterface . apiVersion

    Defined in

    lib/k8s/cluster.ts:55


    kind

    kind: string

    Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to.

    In CamelCase.

    Cannot be updated.

    see more info

    Inherited from

    KubeObjectInterface . kind

    Defined in

    lib/k8s/cluster.ts:54


    metadata

    metadata: KubeMetadata

    Inherited from

    KubeObjectInterface . metadata

    Defined in

    lib/k8s/cluster.ts:56


    spec

    spec: Object

    Type declaration

    Name Type
    maxUnavailable? number
    minAvailable? number
    selector { matchExpressions?: { key: string ; operator: string ; values: string[] } ; matchLabels: { [key: string]: string; } }
    selector.matchExpressions? { key: string ; operator: string ; values: string[] }
    selector.matchExpressions.key string
    selector.matchExpressions.operator string
    selector.matchExpressions.values string[]
    selector.matchLabels { [key: string]: string; }

    Defined in

    lib/k8s/podDisruptionBudget.ts:5


    status

    status: Object

    Type declaration

    Name Type
    conditions { lastTransitionTime: string ; message: string ; observedGeneration: number ; reason: string ; status: string ; type: string }[]
    currentHealthy number
    desiredHealthy number
    disruptedPods? { [key: string]: string; }
    disruptionsAllowed number
    expectedPods number
    observedGeneration number

    Defined in

    lib/k8s/podDisruptionBudget.ts:19