Update cluster
Update selected fields on a CoreWeave CKS cluster using a field mask.
Update cluster
- The API server is
https://api.coreweave.com. - Replace
{API_ACCESS_TOKEN}with your CoreWeave API access token. - For required permissions, see IAM Access Policies.
updateMask to specify which fields to modify. See
Field masks.
Required fields on every PATCH request body:
idversion
updateMask paths is derived from
UpdateClusterRequest in the upstream proto and from the
update_request.json fixture in the CKS API repository.
publicversionauditPolicyoidc(and nested paths such asoidc.issuerUrl,oidc.clientId,oidc.ca)authzWebhook(and nestedauthzWebhook.server,authzWebhook.ca)authnWebhook(and nestedauthnWebhook.server,authnWebhook.ca)network.internalLbCidrNames(append-only)network.serviceNodePortRangedisableOidcInfoPublication(deprecated)kubeletadditionalServerSanstailscale
Example request
Example: upgrade a cluster’s Kubernetes version
To upgrade a cluster, setversion to the new minor version
and include version in updateMask. See
Upgrade Kubernetes
for the end-to-end procedure.
data.json
Authorizations
Body
application/json
A field mask specifying which fields to update. When omitted, all fields in the request body are updated. See the PATCH operation documentation for the preliminary list of valid paths and Google AIP-157 for field-mask syntax.
A JSON object of selective overrides applied to every cluster Node's kubelet configuration. A Node reboot is required for changes to take effect. Unknown options are stored but ignored. See the Kubernetes kubelet configuration reference for supported options.