diff --git a/manifests/rbac/kustomization.yaml b/manifests/rbac/kustomization.yaml index cd0afef0..4e708ef2 100644 --- a/manifests/rbac/kustomization.yaml +++ b/manifests/rbac/kustomization.yaml @@ -5,3 +5,4 @@ resources: - reconciler.yaml - edit.yaml - view.yaml + - resourcequota.yaml diff --git a/manifests/rbac/resourcequota.yaml b/manifests/rbac/resourcequota.yaml new file mode 100644 index 00000000..51739c70 --- /dev/null +++ b/manifests/rbac/resourcequota.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: ResourceQuota +metadata: + name: critical-pods +spec: + hard: + pods: "1000" + scopeSelector: + matchExpressions: + - operator: In + scopeName: PriorityClass + values: + - system-node-critical + - system-cluster-critical