Skip to content

Commit

Permalink
Pods count should be part of object-count's spec.
Browse files Browse the repository at this point in the history
Pods count was added in compute-resources spec which should be in objects-count spec as we're passing count of pods in the definition.
  • Loading branch information
tanalam2411 committed Oct 13, 2019
1 parent ae06e93 commit 72a3dd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/docs/concepts/policy/resource-quotas.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,6 @@ metadata:
name: compute-resources
spec:
hard:
pods: "4"
requests.cpu: "1"
requests.memory: 1Gi
limits.cpu: "2"
Expand All @@ -424,6 +423,7 @@ spec:
hard:
configmaps: "10"
persistentvolumeclaims: "4"
pods: "4"
replicationcontrollers: "20"
secrets: "10"
services: "10"
Expand Down Expand Up @@ -456,7 +456,6 @@ Resource Used Hard
-------- ---- ----
limits.cpu 0 2
limits.memory 0 2Gi
pods 0 4
requests.cpu 0 1
requests.memory 0 1Gi
requests.nvidia.com/gpu 0 4
Expand All @@ -473,6 +472,7 @@ Resource Used Hard
-------- ---- ----
configmaps 0 10
persistentvolumeclaims 0 4
pods 0 4
replicationcontrollers 0 20
secrets 1 10
services 0 10
Expand Down

0 comments on commit 72a3dd1

Please sign in to comment.