Skip to content

Commit

Permalink
Move MC to spo nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
meezaan committed Jun 8, 2023
1 parent 4a50637 commit fd55009
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .k8s/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: alquran-cloud-api-memcached
namespace: alquran-cloud
spec:
replicas: 1
replicas: 2
strategy:
type: RollingUpdate
rollingUpdate:
Expand All @@ -19,6 +19,15 @@ 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

0 comments on commit fd55009

Please sign in to comment.