Unable to create ResourceQuota

Solution Verified - Updated -

Issue

  • ResourceQuota Definition
  apiVersion: v1
  kind: "ResourceQuota"
  metadata:
    name: "resource-quota"
  spec:
    hard:
      pods: "10"
      requests.cpu: "10"
      requests.memory: "10Gi"
      limits.cpu: "10"
      limits.memory: 10Gi
      persistentvolumeclaims: "1"
    scopes:
    - NotTerminating
  • Above ResourceQuota creation fails with following error.
  Error from server (InternalError): Internal error occurred: ResourceQuota "core-resource-quota" is invalid: spec.scopes: Invalid value: []core.ResourceQuotaScope{"NotTerminating"}: 
  unsupported scope applied to resource

Environment

  • Red Hat OpenShift Container Platform
    • 3.10
    • 3.11

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content