Change kubernetes deployment request with patch

9/17/2021

I'm trying to find a smarter way to update "requests:" field in a deployment in a Kubernetes cluster without using kubectl patch deploy/mydeploy

Is there some kind of kubectl patch deployment syntax in order to do that? (For example set CPU request from 200M to 400M)

-- Giorgio Tarozzi
kubectl
kubernetes

0 Answers