Resource Type: kubernetes_container_status

Defined in:
lib/puppet/type/kubernetes_container_status.rb
Providers:
swagger

Overview

ContainerStatus contains details for the current status of this container.

Properties

  • container_id

    Container’s ID in the format ‘docker://<container_id>’.

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • image

    The image the container is running. More info: kubernetes.io/docs/concepts/containers/images

  • image_id

    ImageID of the container’s image.

  • last_state

    Details about the container’s last termination condition.

  • name (namevar)

    This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.

  • ready

    Specifies whether the container has passed its readiness probe.

  • restart_count

    The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.

  • state

    Details about the container’s current condition.

Parameters

  • name

    Name of the container_status.

  • provider

    The specific backend to use for this ‘kubernetes_container_status` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.