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
- 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.