DigitalOcean-public.v2-new_Kubernetes
List Available Regions, Node Sizes, and Versions of Kubernetes
To list the versions of Kubernetes available for use, the regions that support Kubernetes, and the available node sizes, send a GET request to /v2/kubernetes/options.
get/v2/kubernetes/options
Response
The response will be a JSON object with a key called options which contains regions, versions, and sizes objects listing the available options and the matching slugs for use when creating a new cluster.
Example response
{
"options": {
"regions": [
{
"name": "New York 3",
"slug": "nyc3"
}
],
"versions": [
{
"slug": "1.16.13-do.0",
"kubernetes_version": "1.16.13",
"supported_features": [
"cluster-autoscaler",
"docr-integration",
"token-authentication"
]
}
],
"sizes": [
{
"name": "s-1vcpu-2gb",
"slug": "s-1vcpu-2gb"
}
]
}
}