easykubectl
Update a Deployment's container memory limit using kubectl set resources
command
kubectl set resources deployment backend --limits=memory=512Micommand
kubectl set resources deployment backend --limits=memory=512MiPart of the Kubernetes CLI (kubectl) — GKE category.
| Flag | Purpose |
|---|---|
--limits | Set to: memory=512Mi |
Test your recall — not just your reading.
Practice with interactive quiz →