Mondoo Docs

Kubernetes workload container

k8s.container MQL resource for querying Kubernetes infrastructure with cnquery and cnspec.

KubernetesPrivate Resource

Kubernetes workload container

Min version: 5.15.0Defaults: name

Relationships

Mini Map
Kubernetes
Operating System
10 resources · 23 relationshipsClick to select, expand fields to see properties.

Fields (17)

FieldTypeDescription
argsrequired
[]stringArguments to the entry point
commandrequired
[]stringEntry point array
containerImage
container.imageContainer image
envrequired
dictenv variables
envFromrequired
dictenvFrom settings
imageNamerequired
stringContainer image name
imagePullPolicyrequired
stringImage pull policyL Always, Never, or IfNotPresent
livenessProberequired
dictPeriodic probe of container liveness
namerequired
stringName of the container
readinessProberequired
dictPeriodic probe of container service readiness
resourcesrequired
dictCompute resources required by this container
securityContextrequired
dictSecurity options the pod should run with
ttyrequired
intWhether this container should allocate a TTY for itself
uidrequired
stringKubernetes object UID
volumeDevicesrequired
[]dictList of block devices to be used by the container
volumeMountsrequired
[]dictPod volumes to mount into the container's file system
workingDirrequired
stringContainer's working directory