Unable to create ResourceQuota
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
- Openshift Container Platform 3.10
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
