Skip to content

Commit

Permalink
Merge pull request #312 from wunderio/feature/SLT-784-prod-defaults
Browse files Browse the repository at this point in the history
Set requests and limits for prod env., min replicas 2
  • Loading branch information
tormi authored Sep 29, 2022
2 parents 17e103c + 5d2b36f commit 524265a
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions silta/silta-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Enable autoscaling for production.
autoscaling:
enabled: true
minReplicas: 1
minReplicas: 2
maxReplicas: 5

# Don't delay the production deployment process to create the reference data.
Expand All @@ -19,7 +19,9 @@ php:
requests:
cpu: 200m
memory: 256M

limits:
cpu: 500m
memory: 512M
# Don't show errors in production.
errorLevel: "hide"

Expand All @@ -28,6 +30,9 @@ nginx:
requests:
cpu: 50m
memory: 50M
limits:
cpu: 100m
memory: 150M
# Uncomment these lines to disable basic auth protection.
# basicauth:
# enabled: false
Expand All @@ -38,6 +43,17 @@ mariadb:
# Database storage disk space allocation
# Request assistance from ops team after changing this on existing deployment.
size: 5Gi
resources:
requests:
cpu: 250m
memory: 500M
limits:
cpu: 1000m
memory: 750M

# Consider enabling memcached service
# memcached:
# enabled: true

# Connect to an externally hosted database.
# env:
Expand Down

0 comments on commit 524265a

Please sign in to comment.