Keep it stateless
This commit is contained in:
parent
e527a9b0aa
commit
c5f39a3205
|
@ -1,11 +1,10 @@
|
||||||
apiVersion: apps/v1
|
apiVersion: extensions/v1beta1
|
||||||
kind: StatefulSet
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: tusd
|
name: tusd
|
||||||
namespace: tus
|
namespace: tus
|
||||||
spec:
|
spec:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
serviceName: "tusd"
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
@ -26,7 +25,7 @@ spec:
|
||||||
operator: In
|
operator: In
|
||||||
values:
|
values:
|
||||||
- tusd
|
- tusd
|
||||||
topologyKey: kubernetes.io/hostname
|
topologyKey: kubernetes.io/hostname
|
||||||
containers:
|
containers:
|
||||||
- image: docker.io/tusproject/tusd:latest
|
- image: docker.io/tusproject/tusd:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
|
Loading…
Reference in New Issue