Skip to main content

Interface: KubePersistentVolumeClaim

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?

optional spec: object;

Index Signature

[other: string]: any

accessModes?

optional accessModes: string[];

resources?

optional resources: object;

resources.limits?

optional limits: object;

resources.requests

requests: object;
Index Signature

[other: string]: any

resources.requests.storage?

optional storage: string;

storageClassName?

optional storageClassName: string;

volumeMode?

optional volumeMode: string;

volumeName?

optional volumeName: string;

Defined in

src/lib/k8s/persistentVolumeClaim.ts:5


status?

optional status: object;

Index Signature

[other: string]: any

accessModes?

optional accessModes: string[];

capacity?

optional capacity: object;

capacity.storage?

optional storage: string;

phase?

optional phase: string;

Defined in

src/lib/k8s/persistentVolumeClaim.ts:19