# 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:

![](https://2997771214-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ll2YPh7b5O2frfEMtKk%2F-MKCgCcYJVIZ7pcrzEB9%2F-MKCj-kSgY3UyfEzfFlW%2Fyaml.png?alt=media\&token=4c752558-0987-4b51-89b1-a69dbac035b0)

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.

![](https://2997771214-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ll2YPh7b5O2frfEMtKk%2F-MKCgCcYJVIZ7pcrzEB9%2F-MKCjFRMpnPAtM2FBXhd%2Fyaml%20apply.png?alt=media\&token=4a9c1d03-3715-4241-831d-d2f12320ee17)

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.
