DigitalOcean-public.v2-new_Kubernetes
Fetch Status Messages for a Kubernetes Cluster
To retrieve status messages for a Kubernetes cluster, send a GET request to /v2/kubernetes/clusters/$K8S_CLUSTER_ID/status_messages. Status messages inform users of any issues that come up during the cluster lifecycle.
get/v2/kubernetes/clusters/{cluster_id}/status_messages
Path parameters
cluster_idstring uuid required
A unique ID that can be used to reference a Kubernetes cluster.
Query parameters
sincestring date-time
A timestamp used to return status messages emitted since the specified time. The timestamp should be in ISO8601 format.
Response
The response is a JSON object which contains status messages for a Kubernetes cluster. Each message object contains a timestamp and an indication of what issue the cluster is experiencing at a given time.
Example response
{
"messages": [
{
"message": "Resource provisioning may be delayed while our team resolves an incident",
"timestamp": "2018-11-15T16:00:11Z"
}
]
}