Name: ContainerStatus

Holds data about status of a container

Data Structure
{
   "typeId": "com.tintri.api.rest.v310.dto.domain.beans.k8s.ContainerStatus",
   "age": <String>,
   "ageInMillis": <Number>,
   "containerId": <String>,
   "image": <String>,
   "imageId": <String>,
   "ready": <Boolean>,
   "restartCount": <Number>,
   "started": <Boolean>,
   "currentState": ContainerState,
   "lastState": ContainerState,
}

Elements
NameTypeDescription
currentStateContainerStateCurrent state of container. Possible states are 'running', 'waiting' or 'terminated'
lastStateContainerStateLast state of container. Possible states are 'running', 'waiting' or 'terminated'

Attributes
NameTypeDescription
agexsd:stringTime duration since container was last started. The duration will be reset to zero if container is restarted. E.g. 42s (42 seconds) 20m (20 minutes) 18h (18 hours) 100d (100 days)
ageInMillisxsd:longTime duration in milliseconds since container was last started. The duration will be reset to zero if container is restarted.
containerIdxsd:stringContainer's unique id
imagexsd:stringImage used to launch the container
imageIdxsd:stringImage id
readyxsd:booleanIndicates of container is ready
restartCountxsd:intNumber of times the container was restarted
startedxsd:booleanIndicates whether container is started