Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kubernetes_apis/builtin/core@v1/structs.ts>EphemeralContainer

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Latest
interface EphemeralContainer
import { type EphemeralContainer } from "https://deno.land/x/kubernetes_apis@v0.5.0/builtin/core@v1/structs.ts";

An EphemeralContainer is a temporary container that you may add to an existing Pod for user-initiated activities such as debugging. Ephemeral containers have no resource or scheduling guarantees, and they will not be restarted when they exit or when a Pod is removed or restarted. The kubelet may evict a Pod if an ephemeral container causes the Pod to exceed its resource allocation.

To add an ephemeral container, use the ephemeralcontainers subresource of an existing Pod. Ephemeral containers may not be removed or restarted.

Properties

optional
args: Array<string> | null
optional
command: Array<string> | null
optional
env: Array<EnvVar> | null
optional
envFrom: Array<EnvFromSource> | null
optional
image: string | null
optional
imagePullPolicy: string | null
optional
lifecycle: Lifecycle | null
optional
livenessProbe: Probe | null
name: string
optional
ports: Array<ContainerPort> | null
optional
readinessProbe: Probe | null
optional
resizePolicy: Array<ContainerResizePolicy> | null
optional
resources: ResourceRequirements | null
optional
restartPolicy: string | null
optional
securityContext: SecurityContext | null
optional
startupProbe: Probe | null
optional
stdin: boolean | null
optional
stdinOnce: boolean | null
optional
targetContainerName: string | null
optional
terminationMessagePath: string | null
optional
terminationMessagePolicy: string | null
optional
tty: boolean | null
optional
volumeDevices: Array<VolumeDevice> | null
optional
volumeMounts: Array<VolumeMount> | null
optional
workingDir: string | null