EXPAND ALL
  • Home

container_id_to_status

Get the status of the container given the container ID. The status is the K8s state of either 'Running', 'Waiting', 'Terminated' or 'Unknown'. It may be paired with additional information such as a message and reason explaining why the container is in that state.

Returns: STRING

The status of the container.

Arguments

VariableTypeDescription
idSTRINGThe ID of the container to get the status of.

Examples:

df.status = px.container_id_to_status(df.id)
This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.