Skip to content

Commit

Permalink
Update manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
meezaan committed Jun 7, 2023
1 parent 185ab1b commit 035e0e1
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .k8s/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 Expand Up @@ -104,7 +113,7 @@ metadata:
name: alquran-cloud-api
namespace: alquran-cloud
spec:
replicas: 3 # 16 requests each
replicas: 2 # 16 requests each
strategy:
type: RollingUpdate
rollingUpdate:
Expand Down Expand Up @@ -166,10 +175,10 @@ spec:
failureThreshold: 3
resources:
requests:
cpu: "225m"
cpu: "350m"
memory: 250Mi
limits:
cpu: "350m"
cpu: "500m"
memory: 500Mi
ports:
- containerPort: 8080
Expand Down

0 comments on commit 035e0e1

Please sign in to comment.