[ci skip] shlink: increase memory limit to 512Mi to prevent OOMKill

Shlink with GeoLite2 DB requires more than the 256Mi LimitRange default.
This commit is contained in:
Viktor Barzin 2026-03-01 16:13:50 +00:00
parent e9dbb0e82e
commit ea8d68f3a8
No known key found for this signature in database
GPG key ID: 0EB088298288D958

View file

@ -135,16 +135,15 @@ resource "kubernetes_deployment" "shlink" {
# name = "DB_PASSWORD"
# value = var.url_shortener_mysql_password
# }
# resources {
# limits = {
# cpu = "0.5"
# memory = "512Mi"
# }
# requests = {
# cpu = "250m"
# memory = "50Mi"
# }
# }
resources {
limits = {
memory = "512Mi"
}
requests = {
cpu = "25m"
memory = "128Mi"
}
}
port {
container_port = 8080
}