Skip to main content

Interface: PodInspectInfo

Defined in: packages/extension-api/src/extension-api.d.ts:2768

Properties​

Containers​

Containers: PodContainerInfo[]

Defined in: packages/extension-api/src/extension-api.d.ts:2790

Containers gives a brief summary of all containers in the pod and their current status.


cpu_period?​

optional cpu_period?: number

Defined in: packages/extension-api/src/extension-api.d.ts:2836

CPUPeriod contains the CPU period of the pod


cpu_quota?​

optional cpu_quota?: number

Defined in: packages/extension-api/src/extension-api.d.ts:2840

CPUQuota contains the CPU quota of the pod


cpu_shares?​

optional cpu_shares?: number

Defined in: packages/extension-api/src/extension-api.d.ts:2844

CPUShares contains the cpu shares for the pod


cpuset_cpus?​

optional cpuset_cpus?: string

Defined in: packages/extension-api/src/extension-api.d.ts:2848

CPUSetCPUs contains linux specific CPU data for the pod


cpuset_mems?​

optional cpuset_mems?: string

Defined in: packages/extension-api/src/extension-api.d.ts:2852

CPUSetMems contains linux specific CPU data for the pod


Created​

Created: string

Defined in: packages/extension-api/src/extension-api.d.ts:2782

The time when the pod was created.


engineId​

engineId: string

Defined in: packages/extension-api/src/extension-api.d.ts:2769


engineName​

engineName: string

Defined in: packages/extension-api/src/extension-api.d.ts:2770


ExitPolicy​

ExitPolicy: "stop" | "continue"

Defined in: packages/extension-api/src/extension-api.d.ts:2794

The exit policy of the pod when the last container exits.


Hostname​

Hostname: string

Defined in: packages/extension-api/src/extension-api.d.ts:2798

Hostname that the pod will set.


Id​

Id: string

Defined in: packages/extension-api/src/extension-api.d.ts:2774

ID of the pod.


InfraConfig​

InfraConfig: object

Defined in: packages/extension-api/src/extension-api.d.ts:2814

Contains the configuration of the pod's infra container.

DNSOption?​

optional DNSOption?: string[]

DNSOption is a set of DNS options that will be used by the infra container's resolv.conf and shared with the remainder of the pod.

DNSSearch?​

optional DNSSearch?: string[]

DNSSearch is a set of DNS search domains that will be used by the infra container's resolv.conf and shared with the remainder of the pod.

DNSServer?​

optional DNSServer?: string[]

DNSServer is a set of DNS Servers that will be used by the infra container's resolv.conf and shared with the remainder of the pod.

Networks?​

optional Networks?: string[]

List of networks the pod will join.

PortBindings?​

optional PortBindings?: HostConfigPortBinding


InfraContainerID?​

optional InfraContainerID?: string

Defined in: packages/extension-api/src/extension-api.d.ts:2810

the ID of the pod's infra container, if one is present.


Labels​

Labels: object

Defined in: packages/extension-api/src/extension-api.d.ts:2806

Set of key-value labels that have been applied to the pod.

Index Signature​

[key: string]: string


memory_limit?​

optional memory_limit?: number

Defined in: packages/extension-api/src/extension-api.d.ts:2856

MemoryLimit contains the specified cgroup memory limit for the pod


memory_swap?​

optional memory_swap?: number

Defined in: packages/extension-api/src/extension-api.d.ts:2860

MemorySwap contains the specified memory swap limit for the pod


mounts?​

optional mounts?: InspectMount[]

Defined in: packages/extension-api/src/extension-api.d.ts:2864

Mounts contains volume related information for the pod


Name​

Name: string

Defined in: packages/extension-api/src/extension-api.d.ts:2778

The name of the pod.


RestartPolicy​

RestartPolicy: string

Defined in: packages/extension-api/src/extension-api.d.ts:2802

RestartPolicy of the pod.


State​

State: string

Defined in: packages/extension-api/src/extension-api.d.ts:2786

The current state of the pod.