Merge pull request #17850 from sdminonne/bug_fix3

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot 2015-11-27 01:15:02 -08:00
commit 3cc588b5be

View File

@ -127,8 +127,9 @@ Replicas: 0 current / 1 desired
Pods Status: 0 Running / 0 Waiting / 0 Succeeded / 0 Failed Pods Status: 0 Running / 0 Waiting / 0 Succeeded / 0 Failed
No volumes. No volumes.
Events: Events:
FirstSeen LastSeen Count From SubobjectPath Reason Message FirstSeen LastSeen Count From SubobjectPath Type Reason Message
42s 11s 3 {replication-controller } FailedCreate Error creating: Pod "nginx-" is forbidden: Must make a non-zero request for memory since it is tracked by quota. ───────── ──────── ───── ──── ───────────── ──────── ────── ───────
12s 12s 2 {replication-controller } Warning FailedCreate Error creating: Pod "nginx-" is forbidden: memory is limited by quota, must make explicit request.
``` ```
The Kubernetes API server is rejecting the replication controllers requests to create a pod because our pods The Kubernetes API server is rejecting the replication controllers requests to create a pod because our pods
@ -169,7 +170,7 @@ Namespace: quota-example
Resource Used Hard Resource Used Hard
-------- ---- ---- -------- ---- ----
cpu 100m 20 cpu 100m 20
memory 256Mi 1Gi memory 268435456 1Gi
persistentvolumeclaims 0 10 persistentvolumeclaims 0 10
pods 1 10 pods 1 10
replicationcontrollers 1 20 replicationcontrollers 1 20