Require it to not run on preemptible
This commit is contained in:
parent
cce12757d4
commit
9d693c93a3
|
@ -10,22 +10,13 @@ spec:
|
||||||
labels:
|
labels:
|
||||||
app: tusd
|
app: tusd
|
||||||
spec:
|
spec:
|
||||||
# affinity:
|
affinity:
|
||||||
# nodeAffinity:
|
nodeAffinity:
|
||||||
# requiredDuringSchedulingIgnoredDuringExecution:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
# nodeSelectorTerms:
|
nodeSelectorTerms:
|
||||||
# - matchExpressions:
|
- matchExpressions:
|
||||||
# - key: cloud.google.com/gke-preemptible
|
- key: cloud.google.com/gke-preemptible
|
||||||
# operator: Exists
|
operator: DoesNotExist
|
||||||
# podAntiAffinity:
|
|
||||||
# requiredDuringSchedulingIgnoredDuringExecution:
|
|
||||||
# - labelSelector:
|
|
||||||
# matchExpressions:
|
|
||||||
# - key: app
|
|
||||||
# operator: In
|
|
||||||
# values:
|
|
||||||
# - tusd
|
|
||||||
# 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