Deployment with Ressource Constraints https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ It's a good practice to assign a CPU request and a CPU limit to a container. Containers cannot use more CPU than the configured limit. Provided the system has CPU time free, a container is guaranteed to be allocated as much CPU as it requests. mkdir ~/stress && cd ~/stress kubectl create namespace stress kubectl config set-context --current --namespace stress cat >deployment2.yaml <Dockerfile <pod.yaml <