android-emulator: fit pod inside the tier-1 ResourceQuota (Burstable memory)
Some checks failed
ci/woodpecker/push/k8s-portal Pipeline failed
ci/woodpecker/push/default Pipeline failed
ci/woodpecker/push/postmortem-todos Pipeline was successful
ci/woodpecker/push/pve-nfs-exports-sync Pipeline was successful
ci/woodpecker/push/registry-config-sync Pipeline was successful
ci/woodpecker/push/build-cli Pipeline was successful
ci/woodpecker/push/build-ci-image Pipeline was successful
Some checks failed
ci/woodpecker/push/k8s-portal Pipeline failed
ci/woodpecker/push/default Pipeline failed
ci/woodpecker/push/postmortem-todos Pipeline was successful
ci/woodpecker/push/pve-nfs-exports-sync Pipeline was successful
ci/woodpecker/push/registry-config-sync Pipeline was successful
ci/woodpecker/push/build-cli Pipeline was successful
ci/woodpecker/push/build-ci-image Pipeline was successful
First deploy hit 'exceeded quota: tier-quota, requested requests.memory=8Gi, limited 4Gi' — the generated tier-1 quota caps memory REQUESTS at 4Gi but allows 32Gi of limits, so go Burstable (requests 3Gi, limits 8Gi) like tiers 3/4 do, instead of opting the namespace out via custom-quota.
This commit is contained in:
parent
6bf216751b
commit
99c19584f7
1 changed files with 7 additions and 4 deletions
|
|
@ -110,12 +110,15 @@ resource "kubernetes_deployment" "android-emulator" {
|
|||
}
|
||||
|
||||
resources {
|
||||
# No CPU limit (cluster-wide rule — CFS throttling); requests=limits
|
||||
# on memory. Emulator peak: qemu (-memory 4096) + guest overhead +
|
||||
# Xvfb/VNC + JVM sdkmanager on first boot.
|
||||
# No CPU limit (cluster-wide rule — CFS throttling). Burstable on
|
||||
# memory: the tier-1 quota caps requests.memory at 4Gi per
|
||||
# namespace, so requests stay under it while the limit gives the
|
||||
# emulator (qemu -memory 4096 + guest overhead + Xvfb/VNC + JVM
|
||||
# sdkmanager on first boot) room to peak — same Burstable pattern
|
||||
# tiers 3/4 use deliberately.
|
||||
requests = {
|
||||
cpu = "2"
|
||||
memory = "8Gi"
|
||||
memory = "3Gi"
|
||||
}
|
||||
limits = {
|
||||
memory = "8Gi"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue