[k8s] Hitch should connect to Varnish, not the blog

This commit is contained in:
Vincent Ambo 2015-11-20 10:58:15 +01:00
parent df93cead28
commit fdc20d3c82

View file

@ -3,6 +3,7 @@ kind: ReplicationController
metadata: metadata:
name: tazblog name: tazblog
spec: spec:
replicas: 2
selector: selector:
app: tazblog app: tazblog
template: template:
@ -26,7 +27,7 @@ spec:
- image: tazjin/hitch:master - image: tazjin/hitch:master
imagePullPolicy: Always imagePullPolicy: Always
name: tazblog-hitch name: tazblog-hitch
command: ["hitch", "--user=hitch", "/etc/hitch/ssl/tazblog-tls"] command: ["hitch", "--backend=:6081", "--user=hitch", "/etc/hitch/ssl/tazblog-tls"]
ports: ports:
- containerPort: 8443 - containerPort: 8443
volumeMounts: volumeMounts: