Skip to content

Commit

Permalink
Fix location of constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
meezaan committed Jun 7, 2023
1 parent 035e0e1 commit 4a50637
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .k8s/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,6 @@ spec:
labels:
app: alquran-cloud-api-memcached
spec:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway
tolerations:
- key: kubernetes.azure.com/scalesetpriority
operator: "Equal"
value: spot
effect: NoSchedule
containers:
- name: alquran-cloud-api-memcached
image: memcached:1.6
Expand Down Expand Up @@ -127,6 +118,15 @@ spec:
labels:
app: alquran-cloud-api
spec:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway
tolerations:
- key: kubernetes.azure.com/scalesetpriority
operator: "Equal"
value: spot
effect: NoSchedule
containers:
- name: alquran-cloud-api
image: islamicnetwork/api.alquran.cloud:$COMMIT_TAG
Expand Down

0 comments on commit 4a50637

Please sign in to comment.