eks.clusters.upgrade

Upgrade the control plane to the next Kubernetes minor

PUT /eks/api/clusters/{cluster}/versionIAM eks:UpdateClusterVersionChanges stateDestructive

One minor at a time, never down. Each control-plane machine is replaced by one at the new minor, one at a time; the API answers throughout (dev tier too). The cluster is updating until every machine runs the new minor; then upgrade node groups with `nodegroups upgrade`. 409 while the cluster is not active or its control plane is not settled.

Request syntax

PUT /eks/api/clusters/{cluster}/version
{
  "version": "enum"
}

Path parameters

  • clusterRequired

    string

    Constraints: /^(ewk-[0-9a-f]{12}|[a-z]([a-z0-9-]{0,38}[a-z0-9])?)$/

Request body

  • versionRequired

    enum

    The next Kubernetes minor, one above the cluster’s

    One of: 1.36, 1.37

Response

200 with the cluster, status `updating` and version the new minor: id, name, regionId, tier, version, kubernetesVersion, availableVersion, latestPatch, status, reconcileError, endpoint, endpointIpv4, allowedCidrs, endpointPublicAccess, endpointPrivateAccess, endpointPrivateIpv4, serviceAccountIssuer, vpcId, podCidr, serviceCidr, controlPlaneNodes, deletionProtection, autoscaler, logging, support, forcedUpgrade, slaPercent, createdAt, …. 400 for a downgrade or a jump of more than one minor; 409 when an upgrade already runs, the cluster is not active, it already runs that minor, the control plane is not settled (not every machine ready), a node group is too far behind, or an add-on’s version does not support the new minor. 404 when no cluster has that id or name, 403 without the permission on it.

A JSON response is wrapped as { "success": true, "data": … }; the CLI prints the whole body with --json.

Errors

  • 400The request does not pass the schema above. The body is { "error": …, "issues": […] }, one issue per field.
  • 401No credentials, or an access key that is unknown, revoked or expired.
  • 403The caller's policies do not allow eks:UpdateClusterVersion on this resource. The body names the action and the resource, and the refusal is recorded in the audit log.
  • 404The resource does not exist in your organization.

Examples

The required parameters only, with example values. Replace id and the other placeholders with your own.

dcloud eks clusters upgrade cluster --version 1.36

Generated from the API description, the same one the API checks requests against and the CLI is built from. MCP tool: dcloud_eks_clusters_upgrade.