Updates a Node Class.

Updates an existing NodeClass regardless of cloud provider. The cloud
provider is inferred from the populated oneof variant of node_class.class.
Used by the UI edit flow. Pass the full NodeClass object and the prior
resourceVersion (from ListNodeClasses metadata.resourceVersion) as
expected_resource_version for optimistic concurrency: on drift the update
fails with CONFLICT, surfaced as HTTP 409 (gRPC codes.Aborted) so the UI
can prompt a reload.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The ID of the Organization.

string
required

The ID of the cluster whose NodeClass is being updated.

string
required

The name of the NodeClass being updated. Must match the metadata name of
the populated node_class variant.

Query Params
string

The resourceVersion observed by the UI on the prior read. Used for
optimistic concurrency (CONFLICT on drift → HTTP 409 equivalent).

Body Params

NodeClass is the unified, provider-agnostic NodeClass payload. Exactly one
variant of class must be set: the populated variant identifies the cloud
provider and drives server-side selection of the Karpenter CRD
(ec2 -> karpenter.k8s.aws EC2NodeClass, aks -> karpenter.azure.com
AKSNodeClass).

ec2
object

The EC2NodeClass payload (AWS).

aks
object

The AKSNodeClass payload (Azure).

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json