deploy(minor): deploy more servers with more resources

This commit is contained in:
Langhammer, Jens 2019-10-07 18:41:43 +02:00
parent ec73b53340
commit 862fb0f5d2
4 changed files with 7 additions and 10 deletions

View file

@ -2,7 +2,7 @@
http = 0.0.0.0:8000
chdir = /app
wsgi-file = passbook/root/wsgi.py
processes = 4
processes = 2
master = true
threads = 2
enable-threads = true

View file

@ -8,7 +8,7 @@ metadata:
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
replicas: {{ .Values.replicaCount }}
replicas: 2
selector:
matchLabels:
app.kubernetes.io/name: {{ include "passbook.name" . }}
@ -95,8 +95,8 @@ spec:
value: kubernetes-healthcheck-host
resources:
requests:
cpu: 50m
memory: 150M
cpu: 100m
memory: 200M
limits:
cpu: 200m
memory: 300M
cpu: 300m
memory: 350M

View file

@ -8,7 +8,7 @@ metadata:
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
replicas: {{ .Values.replicaCount }}
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: {{ include "passbook.name" . }}

View file

@ -1,9 +1,6 @@
# Default values for passbook.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
tag: 0.6.0-beta