diff options
-rw-r--r-- | k8s/tazblog-rc.yaml | 9 | ||||
-rw-r--r-- | varnish/Dockerfile | 4 |
2 files changed, 9 insertions, 4 deletions
diff --git a/k8s/tazblog-rc.yaml b/k8s/tazblog-rc.yaml index 4a075a52fa66..019d1bee0613 100644 --- a/k8s/tazblog-rc.yaml +++ b/k8s/tazblog-rc.yaml @@ -1,17 +1,17 @@ apiVersion: v1 kind: ReplicationController metadata: - name: tazblog-5.1 + name: tazblog-5.1.1 spec: replicas: 2 selector: app: tazblog - version: v5.1 + version: v5.1.1 template: metadata: labels: app: tazblog - version: v5.1 + version: v5.1.1 spec: containers: - image: tazjin/tazblog-haskell:master @@ -36,6 +36,9 @@ spec: - name: tazblog-tls readOnly: true mountPath: /etc/hitch/ssl + resources: + requests: + memory: "1024Mi" volumes: - name: tazblog-tls secret: diff --git a/varnish/Dockerfile b/varnish/Dockerfile index 54a8afe27879..83733b527d31 100644 --- a/varnish/Dockerfile +++ b/varnish/Dockerfile @@ -11,4 +11,6 @@ ADD default.vcl /etc/varnish/default.vcl CMD ulimit -n 131072 && \ /usr/sbin/varnishd -F -f /etc/varnish/default.vcl \ - -a :6081 -T :6082 -a :6083,PROXY -t 120 + -a :6081 -T :6082 -a :6083,PROXY -t 120 \ + -p thread_pool_min=5 -p thread_pool_max=500\ + -p thread_pool_timeout=300 |