Retrieve Available Upgrades for an Existing Kubernetes Cluster
To determine whether a cluster can be upgraded, and the versions to which it can be upgraded, send a GET request to /v2/kubernetes/clusters/$K8S_CLUSTER_ID/upgrades.
Path parameters
A unique ID that can be used to reference a Kubernetes cluster.
Response
The response will be a JSON object with a key called available_upgrade_versions. The value of this will be an array of objects, representing the upgrade versions currently available for this cluster.
If the cluster is up-to-date (i.e. there are no upgrades currently available) available_upgrade_versions will be null.
Example response
{
"available_upgrade_versions": [
{
"slug": "1.16.13-do.0",
"kubernetes_version": "1.16.13",
"supported_features": [
"cluster-autoscaler",
"docr-integration",
"token-authentication"
]
}
]
}Changes
Changed in 4 of the 8 revisions of this API.14
- ○
api tag
DigitalOcean-public.v2-new_Kubernetesaddedapi-tag-added
- ○
api tag
Kubernetesremovedapi-tag-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 436 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
This revision also has 70 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○