summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2015-11-20T09·58+0100
committerVincent Ambo <tazjin@gmail.com>2015-11-20T09·58+0100
commitfdc20d3c825c8a8d8760c4f4778fb3f7d0d691cc (patch)
tree57be44724d4134f50adb6b99f71d2b180621694d
parentdf93cead2801ac6fa28d21ef46751bcc4f95dc2b (diff)
[k8s] Hitch should connect to Varnish, not the blog
-rw-r--r--k8s/tazblog-rc.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/k8s/tazblog-rc.yaml b/k8s/tazblog-rc.yaml
index ed291392a716..4549ab1b39dc 100644
--- a/k8s/tazblog-rc.yaml
+++ b/k8s/tazblog-rc.yaml
@@ -3,6 +3,7 @@ kind: ReplicationController
 metadata:
   name: tazblog
 spec:
+  replicas: 2
   selector:
     app: tazblog
   template:
@@ -26,7 +27,7 @@ spec:
         - image: tazjin/hitch:master
           imagePullPolicy: Always
           name: tazblog-hitch
-          command: ["hitch", "--user=hitch", "/etc/hitch/ssl/tazblog-tls"]
+          command: ["hitch", "--backend=:6081", "--user=hitch", "/etc/hitch/ssl/tazblog-tls"]
           ports:
             - containerPort: 8443
           volumeMounts: