Mondoo Docs

Kubernetes container status

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

KubernetesPrivate Resource

Kubernetes container status

Min version: 9.0.0Defaults: name

Relationships

Mini Map
Kubernetes
3 resources · 4 relationshipsClick to select, expand fields to see properties.

Fields (6)

FieldTypeDescription
containerIdrequired
stringThe ID of the container in the format '\<type\>://\<container_id\>'
imagerequired
stringName of the container image that the container is running
imageIdrequired
stringThe image ID of the container's image
namerequired
stringName of the container
readyrequired
intWhether the container is currently passing its readiness check
restartCountrequired
intThe amount of times the container has been restarted