Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set requests and limits for prod env., min replicas 2 #312

Merged
merged 1 commit into from
Sep 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
tormi marked this conversation as resolved.
Show resolved Hide resolved
# memcached:
# enabled: true

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