Skip to content

AlreadyExists

View Markdown

HTTP status: 409 · Retryable: no

A create by name found an object with that name whose spec differs; an identical create returns the object.

{resource} "{name}" already exists with a different spec: {fields} differ

choose another name, delete the existing object, or apply the change with nodus apply

The response is a Kubernetes Status with reason: AlreadyExists and code: 409, plus fix, docs (this page) and requestId. details.causes lists the fields involved, when there are any. The CLI prints the fix and the request id; the Python SDK raises nodus.errors.AlreadyExists.

details also carries:

  • diff, which the Python SDK exposes as diff