Set or update environment variables.
Section: Deployments
Set environment variable
bash
bash
kubectl set env deployment/web APP_ENV=production -n paymentsExplanation
Set or update environment variables.
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