Set environment-specific replica count.
Section: Patches and Generators
Patch replicas via overlay
yaml
yaml
patches:
- target:
kind: Deployment
name: api
patch: |
- op: replace
path: /spec/replicas
value: 5Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Patches and Generators