> For the complete documentation index, see [llms.txt](https://k8.matthewdavis.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://k8.matthewdavis.io/commands.md).

# Commands

### Restarting a Deployment

```
kubectl scale --current-replicas=0 --replicas=3 deployment/<deployment name>
kubectl scale --current-replicas=2 --replicas=3 deployment/<deployment name>
```
