Skip to main content

Interface: KubePod

This is the base interface for all Kubernetes resources, i.e. it contains fields that all Kubernetes resources have.

Extends

Properties

apiVersion?

optional apiVersion: string;

Inherited from

KubeObjectInterface.apiVersion

Defined in

src/lib/k8s/cluster.ts:73


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

src/lib/k8s/cluster.ts:72


metadata

metadata: KubeMetadata;

Inherited from

KubeObjectInterface.metadata

Defined in

src/lib/k8s/cluster.ts:74


spec

spec: KubePodSpec;

Defined in

src/lib/k8s/pod.ts:32


status

status: object;

Index Signature

[other: string]: any

conditions

conditions: KubeCondition[];

containerStatuses

containerStatuses: KubeContainerStatus[];

ephemeralContainerStatuses?

optional ephemeralContainerStatuses: KubeContainerStatus[];

hostIP?

optional hostIP: string;

initContainerStatuses?

optional initContainerStatuses: KubeContainerStatus[];

message?

optional message: string;

phase

phase: string;

qosClass?

optional qosClass: string;

reason?

optional reason: string;

startTime

startTime: Time;

Defined in

src/lib/k8s/pod.ts:33