Label for Quota on Kubernetes

8/22/2018

How can be quota set on Kubernetes using label selector like:

apiVersion: v1
kind: ResourceQuota
metadata:
  name: thequota-for-restrictedsoftware
spec:
  hard:
    pods: "3"
  selector:
    matchLabels:
      restricted: true
-- Ryota Hashimoto
kubernetes

1 Answer

8/23/2018

I've spent some time digging in the documentation and trying to find the answer to your question, and I'm not 100% sure, but it is not possible at this moment in the way you need it.

-- d0bry
Source: StackOverflow