Update requests and limits from the CLI.
Section: Deployments
Set deployment resources
bash
bash
kubectl set resources deployment/web -c web --limits=cpu=500m,memory=512Mi --requests=cpu=200m,memory=256Mi -n paymentsExplanation
Update requests and limits from the CLI.
Learn 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 Deployments