k8s.io/kubernetes@v1.31.0-alpha.0.0.20240520171757-56147500dadc/cluster/gce/addons/admission-resource-quota-critical-pods/resource-quota.yaml (about) 1 # critical pods are configured as a limited resource by admission_controller_config.yaml, 2 # which means they are disallowed unless explicitly allowed by a namespaced quota object. 3 # This quota effectively removes the restriction on the number of critical pods allowed in the kube-system namespace. 4 apiVersion: v1 5 kind: ResourceQuota 6 metadata: 7 name: gcp-critical-pods 8 namespace: kube-system 9 labels: 10 addonmanager.kubernetes.io/mode: Reconcile 11 spec: 12 hard: 13 pods: "1000000000" 14 scopeSelector: 15 matchExpressions: 16 - operator : In 17 scopeName: PriorityClass 18 values: ["system-node-critical", "system-cluster-critical"]