scale down unused/over-replicated services
- osm-routing (otp, osrm-bicycle, osrm-foot): replicas=0, 0Mi actual usage - dashy: replicas=0, redundant with homepage - echo: 5 -> 1 replica - networking-toolbox: 3 -> 1 replica - travel-blog: 3 -> 1 replica - blog: 3 -> 1 replica Saves ~3.5Gi memory requests.
This commit is contained in:
parent
f7c2c06009
commit
843ba0ae8f
6 changed files with 12 additions and 8 deletions
|
|
@ -30,7 +30,7 @@ resource "kubernetes_deployment" "blog" {
|
|||
}
|
||||
}
|
||||
spec {
|
||||
replicas = 3
|
||||
replicas = 1
|
||||
selector {
|
||||
match_labels = {
|
||||
run = "blog"
|
||||
|
|
|
|||
|
|
@ -48,7 +48,8 @@ resource "kubernetes_deployment" "dashy" {
|
|||
}
|
||||
}
|
||||
spec {
|
||||
replicas = 1
|
||||
# Disabled: reduce cluster memory pressure (2026-03-14 OOM incident)
|
||||
replicas = 0
|
||||
selector {
|
||||
match_labels = {
|
||||
app = "dashy"
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ resource "kubernetes_deployment" "echo" {
|
|||
}
|
||||
}
|
||||
spec {
|
||||
replicas = 5
|
||||
replicas = 1
|
||||
selector {
|
||||
match_labels = {
|
||||
app = "echo"
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ resource "kubernetes_deployment" "networking-toolbox" {
|
|||
}
|
||||
}
|
||||
spec {
|
||||
replicas = 3
|
||||
replicas = 1
|
||||
selector {
|
||||
match_labels = {
|
||||
app = "networking-toolbox"
|
||||
|
|
|
|||
|
|
@ -59,7 +59,8 @@ resource "kubernetes_deployment" "osrm-foot" {
|
|||
}
|
||||
}
|
||||
spec {
|
||||
replicas = 1
|
||||
# Disabled: reduce cluster memory pressure (2026-03-14 OOM incident)
|
||||
replicas = 0
|
||||
strategy {
|
||||
type = "Recreate"
|
||||
}
|
||||
|
|
@ -139,7 +140,8 @@ resource "kubernetes_deployment" "osrm-bicycle" {
|
|||
}
|
||||
}
|
||||
spec {
|
||||
replicas = 1
|
||||
# Disabled: reduce cluster memory pressure (2026-03-14 OOM incident)
|
||||
replicas = 0
|
||||
strategy {
|
||||
type = "Recreate"
|
||||
}
|
||||
|
|
@ -219,7 +221,8 @@ resource "kubernetes_deployment" "otp" {
|
|||
}
|
||||
}
|
||||
spec {
|
||||
replicas = 1
|
||||
# Disabled: reduce cluster memory pressure (2026-03-14 OOM incident)
|
||||
replicas = 0
|
||||
strategy {
|
||||
type = "Recreate"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ resource "kubernetes_deployment" "blog" {
|
|||
}
|
||||
}
|
||||
spec {
|
||||
replicas = 3
|
||||
replicas = 1
|
||||
selector {
|
||||
match_labels = {
|
||||
app = "travel-blog"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue