[ci skip] Remove ResourceQuota limits from nvidia and realestate-crawler namespaces

Add resource-governance/custom-quota=true label to both namespaces so
Kyverno skips auto-generating ResourceQuotas that were causing CPU pressure.
This commit is contained in:
Viktor Barzin 2026-02-22 23:14:53 +00:00
parent cf67e02135
commit 860077a126
No known key found for this signature in database
GPG key ID: 0EB088298288D958
3 changed files with 5 additions and 3 deletions

View file

@ -144,7 +144,7 @@ To rebuild a K8s worker node from scratch (e.g., after disk failure or corruptio
2. LimitRange defaults (Kyverno generate): auto-created per namespace tier
3. ResourceQuotas (Kyverno generate): auto-created per namespace tier (skip with label `resource-governance/custom-quota=true`)
4. Priority injection (Kyverno mutate): sets priorityClassName on Pods
- Custom quota override: monitoring, crowdsec
- Custom quota override: monitoring, crowdsec, nvidia, realestate-crawler
---

View file

@ -12,7 +12,8 @@ resource "kubernetes_namespace" "nvidia" {
name = "nvidia"
labels = {
"istio-injection" : "disabled"
tier = var.tier
tier = var.tier
"resource-governance/custom-quota" = "true"
}
}
}

View file

@ -17,7 +17,8 @@ resource "kubernetes_namespace" "realestate-crawler" {
name = "realestate-crawler"
labels = {
"istio-injection" : "disabled"
tier = local.tiers.aux
tier = local.tiers.aux
"resource-governance/custom-quota" = "true"
}
}
}