Skip to content

Commit

Permalink
chore: update resource requests and limits for gorush deployments
Browse files Browse the repository at this point in the history
- Increase CPU request for gorush-deployment.yaml to "250m"
- Increase memory request for gorush-deployment.yaml to "256Mi"
- Increase CPU limit for gorush-deployment.yaml to "500m"
- Increase memory limit for gorush-deployment.yaml to "512Mi"
- Increase CPU request for gorush-redis-deployment.yaml to "250m"
- Increase memory request for gorush-redis-deployment.yaml to "200Mi"
- Increase CPU limit for gorush-redis-deployment.yaml to "250m"
- Increase memory limit for gorush-redis-deployment.yaml to "200Mi"

Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Oct 11, 2023
1 parent e9bd77c commit 60834b3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions k8s/gorush-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ spec:
imagePullPolicy: Always
ports:
- containerPort: 8088
resources:
requests:
cpu: "250m"
memory: "256Mi"
limits:
cpu: "500m"
memory: "512Mi"
livenessProbe:
httpGet:
path: /healthz
Expand Down
7 changes: 7 additions & 0 deletions k8s/gorush-redis-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,10 @@ spec:
image: redis
ports:
- containerPort: 6379
resources:
requests:
cpu: "250m"
memory: "200Mi"
limits:
cpu: "250m"
memory: "200Mi"

0 comments on commit 60834b3

Please sign in to comment.