Question: Scenario: Your customer is finding that their cluster is constantly running out of resources. After investigation they find that 1 or 2 users are consuming

Scenario:Your customer is finding that their cluster is constantly running out of resources. After investigation they find that 1 or 2 users are consuming significant amounts of resources, far above anyone else on the cluster.
The customer wants to know what steps they can take to ensure a user cannot consume more than a set amount of resources on the cluster.
Question:Which option is the correct approach to control this problem? Choose one
o Write a validating admission webhook that refuses to accept pods that have resource requests higher than a set threshold.
o Use Kubernetes quotas to control the resources consumed by these users.
o Require users to submit tickets to deploy new pods, then manually validate the resource requests and limits for their pod. Refuse to create pods with resource requests that are too high.
o Periodically scan the cluster for pods with high resource requests and delete them.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!