Study. uk . com
  1. Home
  2. All questions
  3. Question 618

CKA study material · question 618 of 1000

A Deployment is applied successfully into a namespace with a tight ResourceQuota, but only two of its five replicas appear. Where does the explanation show up?

  1. In the Deployment's status, for example through kubectl describe
  2. As an error returned by the original kubectl apply
  3. In the ResourceQuota's spec.hard field
  4. Only in the API server audit log
Show the answer

Answer: A. In the Deployment's status, for example through kubectl describe

The workload object is created successfully and it is the Pods that get refused, so the quota failure appears in the Deployment's status rather than at apply time.

Source: Resource Quotas (Kubernetes) — How Kubernetes ResourceQuotas work

Challenge yourself on this topic → Study as cards