Create a pod with resource requests that exceed available node resources.
big-request-pod.yml
and open it for editing:vi big-request-pod.yml
apiVersion: v1
kind: Pod
metadata:
name: big-request-pod
spec:
containers:
- name: busybox
image: busybox
command: ['sh', '-c', 'while true; do sleep 3600; done']
resources:
requests:
cpu: "10000m"
memory: "128Mi"
kubectl create -f big-request-pod.yml
kubectl get pod big-request-pod
resource-pod.yml
and open it for editing:vi resource-pod.yml