[k8s] Update hitch flags to use PROXY to Varnish
This commit is contained in:
parent
8390d14877
commit
7458430485
1 changed files with 4 additions and 2 deletions
|
|
@ -1,15 +1,17 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ReplicationController
|
kind: ReplicationController
|
||||||
metadata:
|
metadata:
|
||||||
name: tazblog
|
name: tazblog-5.1
|
||||||
spec:
|
spec:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
selector:
|
selector:
|
||||||
app: tazblog
|
app: tazblog
|
||||||
|
version: v5.1
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: tazblog
|
app: tazblog
|
||||||
|
version: v5.1
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: tazjin/tazblog-haskell:master
|
- image: tazjin/tazblog-haskell:master
|
||||||
|
|
@ -27,7 +29,7 @@ spec:
|
||||||
- image: tazjin/hitch:master
|
- image: tazjin/hitch:master
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
name: tazblog-hitch
|
name: tazblog-hitch
|
||||||
command: ["hitch", "--backend=[127.0.0.1]:6081", "--user=hitch", "/etc/hitch/ssl/tazblog-tls"]
|
command: ["hitch", "--backend=[127.0.0.1]:6083", "--write-proxy", "--user=hitch", "/etc/hitch/ssl/tazblog-tls"]
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8443
|
- containerPort: 8443
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue