Avoiding ressource starvation?

How do i avoid ressource starvation?
how do kubernetes ensure that the docker image a pod has, all of sudden request alot of ressources and thereby starve the cluster? i know that one can determine the how resource should be allocated for each pod, but is somehow possible to always make sure the kubernetes cluster don’t go down because starvation without specifying
what each pod need?

Use resource limits
More detail Managing Compute Resources for Containers - Kubernetes