Remove request for 2GB of memory from machine and the requirements to run on a preemptible machine @kvz @Acconut
This commit is contained in:
parent
12f102abf6
commit
cce12757d4
|
@ -10,22 +10,22 @@ spec:
|
|||
labels:
|
||||
app: tusd
|
||||
spec:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: cloud.google.com/gke-preemptible
|
||||
operator: Exists
|
||||
podAntiAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
- labelSelector:
|
||||
matchExpressions:
|
||||
- key: app
|
||||
operator: In
|
||||
values:
|
||||
- tusd
|
||||
topologyKey: kubernetes.io/hostname
|
||||
# affinity:
|
||||
# nodeAffinity:
|
||||
# requiredDuringSchedulingIgnoredDuringExecution:
|
||||
# nodeSelectorTerms:
|
||||
# - matchExpressions:
|
||||
# - key: cloud.google.com/gke-preemptible
|
||||
# operator: Exists
|
||||
# podAntiAffinity:
|
||||
# requiredDuringSchedulingIgnoredDuringExecution:
|
||||
# - labelSelector:
|
||||
# matchExpressions:
|
||||
# - key: app
|
||||
# operator: In
|
||||
# values:
|
||||
# - tusd
|
||||
# topologyKey: kubernetes.io/hostname
|
||||
containers:
|
||||
- image: docker.io/tusproject/tusd:latest
|
||||
imagePullPolicy: Always
|
||||
|
@ -34,8 +34,8 @@ spec:
|
|||
resources:
|
||||
limits:
|
||||
memory: "2Gi"
|
||||
requests:
|
||||
memory: "1Gi"
|
||||
# requests:
|
||||
# memory: "1Gi"
|
||||
ports:
|
||||
- name: tusd-web
|
||||
containerPort: 8080
|
||||
|
|
Loading…
Reference in New Issue