...
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.
4apiVersion: v1
5kind: ResourceQuota
6metadata:
7 name: gcp-critical-pods
8 namespace: kube-system
9 labels:
10 addonmanager.kubernetes.io/mode: Reconcile
11spec:
12 hard:
13 pods: "1000000000"
14 scopeSelector:
15 matchExpressions:
16 - operator : In
17 scopeName: PriorityClass
18 values: ["system-node-critical", "system-cluster-critical"]
View as plain text