Skip to main content

k8s.initContainer

Supported platform

  • kubernetes

Description

Kubernetes init container

Fields

IDTYPEDESCRIPTION
uidstringKubernetes object UID
namestringName of the container
imageNamestringContainer image name
imagestringDeprecated. Use imageName instead.
containerImageos.container.imageContainer image
command[]stringEntrypoint array
args[]stringArguments to the entrypoint
resourcesdictCompute resources required by this container
volumeMounts[]dictPod volumes to mount into the container's file system
volumeDevices[]dictList of block devices to be used by the container
imagePullPolicystringImage pull policy: Always, Never, or IfNotPresent
securityContextdictSecurity options the pod should run with
workingDirstringContainer's working directory
ttyboolWhether this container should allocate a TTY for itself
envdictenv variables
envFromdictenvFrom settings

References