# Editing Resources / Nodes

### Use Cases

Editing a resource or node can be handy for several use cases:

* Changing resource constraints
* Scaling a resource (by editing the workload's **replicas** field)
* Updating the workload image to trigger a rollout of a new version

### Editing a Resource

First, click on the workload in Infra App. Then on the **YAML** tab:

![](/files/-MKCj-kSgY3UyfEzfFlW)

Next, make changes to the YAML directly inline. You'll notice the **Apply** button become clickable. Click this button and confirm your changes to continue.

![](/files/-MKCjFRMpnPAtM2FBXhd)

That's all. Your workload should now begin to reflect your changes.&#x20;

### Common Errors

* `Version out of date` this can occur if the workload is updated in the background while making edits. Click **Revert** and then re-apply changes on the latest version of the workload.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.infra.app/features/editing-workloads.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
