Bug 1466641 - ResourceQuota doesn't support limits.storage
Summary: ResourceQuota doesn't support limits.storage
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.5.1
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Vikram Goyal
QA Contact: Vikram Goyal
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-30 06:53 UTC by Kenjiro Nakayama
Modified: 2020-12-14 08:59 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-15 18:14:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kenjiro Nakayama 2017-06-30 06:53:21 UTC
Description of problem:
- ResourceQuota doesn't support limits.storage.

Version-Release number of selected component (if applicable):
- OCP 3.x

How reproducible:
- 100%

Steps to Reproduce:
1. Define ResourceQuota with limits.storage

  [root@knakayam-ose33-master1 ~]# cat b.yaml 
  apiVersion: v1
  kind: ResourceQuota
  metadata:
    name: core-object-counts
  spec:
    hard:
      limits.storage: "10Gi"

2. Create ResourceQuota

  # oc create -f b.yaml 

Actual results:
---

] # oc create -f b.yaml 
The ResourceQuota "core-object-counts" is invalid.

* spec.hard[limits.storage]: Invalid value: "limits.storage": must be a standard resource type or fully qualified
* spec.hard[limits.storage]: Invalid value: "limits.storage": must be a standard resource for quota

Additional info:
---
- Red Hat explicitly included it in the docs - https://github.com/openshift/openshift-docs/pull/3729

Description of problem:

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:

Master Log:

Node Log (of failed PODs):

PV Dump:

PVC Dump:

StorageClass Dump (if StorageClass used by PV/PVC):

Additional info:

Comment 1 Derek Carr 2017-06-30 13:40:22 UTC
unlike cpu or memory, storage is not a burstable resource.

as a result, we only support requests.storage as a quota resource name.

this is an error in the documentation.

pr for doc is opened here:
https://github.com/openshift/openshift-docs/pull/4682

Comment 6 Kathryn Alexander 2018-06-15 18:14:51 UTC
Closing per Kenjiro.


Note You need to log in before you can comment on or make changes to this bug.