Resource Type: kubernetes_pod_status
- Defined in:
- lib/puppet/type/kubernetes_pod_status.rb
- Providers:
-
swagger
Overview
PodStatus represents information about the status of a pod. Status may trail the actual state of a system.
Properties
-
conditions
Current service state of pod. More info: kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
-
container_statuses
The list has one entry per container in the manifest. Each entry is currently the output of ‘docker inspect`. More info: kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
host_ip
IP address of the host to which the pod is assigned. Empty if not yet scheduled.
-
init_container_statuses
The list has one entry per init container in the manifest. The most recent successful init container will have ready = true, the most recently started container will have startTime set. More info: kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-and-container-status
-
message
A human readable message indicating details about why the pod is in this condition.
-
phase
Current condition of the pod. More info: kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-phase
-
pod_ip
IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.
-
qos_class
The Quality of Service (QOS) classification assigned to the pod based on resource requirements See PodQOSClass type for available QOS classes More info: github.com/kubernetes/kubernetes/blob/master/docs/design/resource-qos.md
-
reason
A brief CamelCase message indicating details about why the pod is in this state. e.g. ‘OutOfDisk’
-
start_time
RFC 3339 date and time at which the object was acknowledged by the Kubelet. This is before the Kubelet pulled the container image(s) for the pod.
Parameters
-
name (namevar)
Name of the pod_status.
-
provider
The specific backend to use for this ‘kubernetes_pod_status` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.