Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

An EphemeralContainer is a container that may be added temporarily 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. If an ephemeral container causes a pod to exceed its resource allocation, the pod may be evicted. Ephemeral containers may not be added by directly updating the pod spec. They must be added via the pod's ephemeralcontainers subresource, and they will appear in the pod spec once added. This is an alpha feature enabled by the EphemeralContainers feature flag.

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
resources: ResourceRequirements | 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