...

/

Allocating Excessive Resources

Allocating Excessive Resources

Explore what happens when we allocate excessive resources than required by an application.

Allocating excessive memory

Let’s explore another possible situation through yet another updated definition go-demo-2-insuf-node. Just as before, the change is only in the resources of the go-demo-2-db Deployment.

Press + to interact
apiVersion: apps/v1
kind: Deployment
metadata:
name: go-demo-2-db
spec:
...
template:
...
spec:
containers:
- name: db
image: mongo:3.3
resources:
limits:
memory: 8Gi
cpu: 0.5
requests:
memory: 12Gi
cpu: 0.3

This time we specify that the requested memory is twice as ...

Access this course and 1400+ top-rated courses and projects.