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

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

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

PodSpec is a description of a pod.

Properties

optional
activeDeadlineSeconds: number | null
optional
affinity: Affinity | null
optional
automountServiceAccountToken: boolean | null
containers: Array<Container>
optional
dnsConfig: PodDNSConfig | null
optional
dnsPolicy: string | null
optional
ephemeralContainers: Array<EphemeralContainer> | null
optional
hostAliases: Array<HostAlias> | null
optional
hostIPC: boolean | null
optional
hostNetwork: boolean | null
optional
hostPID: boolean | null
optional
hostname: string | null
optional
imagePullSecrets: Array<LocalObjectReference> | null
optional
initContainers: Array<Container> | null
optional
nodeName: string | null
optional
nodeSelector: Record<string, string> | null
optional
overhead: Record<string, c.Quantity> | null
optional
preemptionPolicy: string | null
optional
priority: number | null
optional
priorityClassName: string | null
optional
readinessGates: Array<PodReadinessGate> | null
optional
restartPolicy: string | null
optional
runtimeClassName: string | null
optional
schedulerName: string | null
optional
securityContext: PodSecurityContext | null
optional
serviceAccount: string | null
optional
serviceAccountName: string | null
optional
setHostnameAsFQDN: boolean | null
optional
shareProcessNamespace: boolean | null
optional
subdomain: string | null
optional
terminationGracePeriodSeconds: number | null
optional
tolerations: Array<Toleration> | null
optional
topologySpreadConstraints: Array<TopologySpreadConstraint> | null
optional
volumes: Array<Volume> | null