5V0-23.20 · Question #35
Which command displays the storage limits that have been set together with the amount of resources consumed?
The correct answer is A. kubect1 get resourcequotas. Create the ResourceQuota: kubectl apply -f https://k8s.io/examples/admin/resource/quota-mem-cpu.yaml -- namespace=quota- mem-cpu-example View detailed information about the ResourceQuota: kubectl get resourcequota mem-cpu-demo --namespace=quota-mem-cpu-example --output=yaml
Question
Which command displays the storage limits that have been set together with the amount of resources consumed?
Options
- Akubect1 get resourcequotas
- Bkubect1 config get-resourcequotas limits
- Ckubect1 list resourcequotas
- Dkubect1 describe resourcequotas
How the community answered
(28 responses)- A79% (22)
- B11% (3)
- C7% (2)
- D4% (1)
Explanation
Create the ResourceQuota: kubectl apply -f https://k8s.io/examples/admin/resource/quota-mem-cpu.yaml -- namespace=quota- mem-cpu-example View detailed information about the ResourceQuota: kubectl get resourcequota mem-cpu-demo --namespace=quota-mem-cpu-example --output=yaml
Topics
Community Discussion
No community discussion yet for this question.