[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:
parent
e9dbb0e82e
commit
ea8d68f3a8
1 changed files with 9 additions and 10 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue