Ryota Hashimoto
Ryota Hashimoto

Reputation: 537

Label for Quota on Kubernetes

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

Upvotes: 2

Views: 226

Answers (1)

d0bry
d0bry

Reputation: 2270

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.

Upvotes: 1

Related Questions