Keep it stateless

This commit is contained in:
Abdelhadi Khiati 2018-07-10 23:46:50 +01:00
parent e527a9b0aa
commit c5f39a3205
1 changed files with 3 additions and 4 deletions

View File

@ -1,11 +1,10 @@
apiVersion: apps/v1
kind: StatefulSet
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: tusd
namespace: tus
spec:
replicas: 2
serviceName: "tusd"
template:
metadata:
labels:
@ -26,7 +25,7 @@ spec:
operator: In
values:
- tusd
topologyKey: kubernetes.io/hostname
topologyKey: kubernetes.io/hostname
containers:
- image: docker.io/tusproject/tusd:latest
imagePullPolicy: Always