diff options
Diffstat (limited to 'services/tazblog/k8s/tazblog-rc.yaml')
-rw-r--r-- | services/tazblog/k8s/tazblog-rc.yaml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/services/tazblog/k8s/tazblog-rc.yaml b/services/tazblog/k8s/tazblog-rc.yaml new file mode 100644 index 000000000000..b29a4d5d7591 --- /dev/null +++ b/services/tazblog/k8s/tazblog-rc.yaml @@ -0,0 +1,45 @@ +apiVersion: v1 +kind: ReplicationController +metadata: + name: tazblog-5.1.3 +spec: + replicas: 2 + selector: + app: tazblog + version: v5.1.3 + template: + metadata: + labels: + app: tazblog + version: v5.1.3 + spec: + containers: + - image: tazjin/tazblog-haskell:master + imagePullPolicy: Always + name: tazblog + command: ["tazblog", "--dbHost", "tazblog-db.default.svc.cluster.local"] + ports: + - containerPort: 8000 + - image: tazjin/varnish + imagePullPolicy: Always + name: tazblog-varnish + ports: + - containerPort: 6081 + - containerPort: 6082 + - image: tazjin/hitch:master + imagePullPolicy: Always + name: tazblog-hitch + command: ["hitch", "--backend=[127.0.0.1]:6083", "--write-proxy", "--user=hitch", "/etc/hitch/ssl/tazblog-tls"] + ports: + - containerPort: 8443 + volumeMounts: + - name: tazblog-tls + readOnly: true + mountPath: /etc/hitch/ssl + resources: + requests: + memory: "1024Mi" + volumes: + - name: tazblog-tls + secret: + secretName: tazblog-tls |