4.5 KiB
PodStatus v1
Group | Version | Kind |
---|---|---|
Core | v1 | PodStatus |
PodStatus represents information about the status of a pod. Status may trail the actual state of a system.
Field | Description |
---|---|
conditions PodCondition array |
Current service state of pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions |
containerStatuses ContainerStatus array |
The list has one entry per container in the manifest. Each entry is currently the output of docker inspect . More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses |
hostIP string |
IP address of the host to which the pod is assigned. Empty if not yet scheduled. |
message string |
A human readable message indicating details about why the pod is in this condition. |
phase string |
Current condition of the pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-phase |
podIP string |
IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated. |
reason string |
A brief CamelCase message indicating details about why the pod is in this state. e.g. 'OutOfDisk' |
startTime 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. |
Write Operations
See supported operations below...
Replace
bdocs-tab:kubectl
kubectl
Command
Coming Soon
bdocs-tab:curl
curl
Command (requireskubectl proxy
to be running)
Coming Soon
bdocs-tab:kubectl Output
Coming Soon
bdocs-tab:curl Response Body
Coming Soon
replace status of the specified Pod
HTTP Request
PUT /api/v1/namespaces/{namespace}/pods/{name}/status
Path Parameters
Parameter | Description |
---|---|
name | name of the Pod |
namespace | object name and auth scope, such as for teams and projects |
Query Parameters
Parameter | Description |
---|---|
pretty | If 'true', then the output is pretty printed. |
Body Parameters
Parameter | Description |
---|---|
body Pod |
Response
Code | Description |
---|---|
200 Pod |
OK |
Patch
bdocs-tab:kubectl
kubectl
Command
Coming Soon
bdocs-tab:curl
curl
Command (requireskubectl proxy
to be running)
Coming Soon
bdocs-tab:kubectl Output
Coming Soon
bdocs-tab:curl Response Body
Coming Soon
partially update status of the specified Pod
HTTP Request
PATCH /api/v1/namespaces/{namespace}/pods/{name}/status
Path Parameters
Parameter | Description |
---|---|
name | name of the Pod |
namespace | object name and auth scope, such as for teams and projects |
Query Parameters
Parameter | Description |
---|---|
pretty | If 'true', then the output is pretty printed. |
Body Parameters
Parameter | Description |
---|---|
body Patch |
Response
Code | Description |
---|---|
200 Pod |
OK |
Read Operations
See supported operations below...
Read
bdocs-tab:kubectl
kubectl
Command
Coming Soon
bdocs-tab:curl
curl
Command (requireskubectl proxy
to be running)
Coming Soon
bdocs-tab:kubectl Output
Coming Soon
bdocs-tab:curl Response Body
Coming Soon
read status of the specified Pod
HTTP Request
GET /api/v1/namespaces/{namespace}/pods/{name}/status
Path Parameters
Parameter | Description |
---|---|
name | name of the Pod |
namespace | object name and auth scope, such as for teams and projects |
Query Parameters
Parameter | Description |
---|---|
pretty | If 'true', then the output is pretty printed. |
Response
Code | Description |
---|---|
200 Pod |
OK |