The total number of concurrency shares allocated to the priority levels you get in a default cluster ("kubectl get
prioritylevelconfigurations.flowcontrol.apiserver.k8s.io") adds up to 245. We tried adding an additional priority level with 32 concurrency shares on GKE, but it was rejected with the following (GKE-specific) admission control error:
admission webhook "flowcontrol-guardrails.common-webhooks.networking.gke.io" denied the request: priority level configuration <name of priority level we were trying to add> cannot be added as requested shares 32 exceed available shares by 2; re-allocate shares from other non-cluster-critical priority level configurations and retry
It seems like GKE is enforcing a limit of 275 shares, but I could not find any documentation about such a limit in the open-source Kubernetes documentation nor the GKE documentation.
Does anyone know what rule is being enforced here?
Thanks!