Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
core: add resource requests and limits
Browse files Browse the repository at this point in the history
  • Loading branch information
h3adex committed Dec 6, 2023
1 parent 00a976e commit 77e9266
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
6 changes: 6 additions & 0 deletions build/build-dev-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ spec:
containerPort: 81
- name: https
containerPort: 444
resources:
limits:
memory: 256Mi
requests:
cpu: 50m
memory: 128Mi
---
apiVersion: networking.k8s.io/v1
kind: Ingress
Expand Down
8 changes: 7 additions & 1 deletion k8s/guardgress-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,10 @@ spec:
- name: http
containerPort: 81
- name: https
containerPort: 444
containerPort: 444
resources:
limits:
memory: 256Mi
requests:
cpu: 50m
memory: 128Mi
7 changes: 6 additions & 1 deletion k8s/guardgress-deployment-svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,12 @@ spec:
- containerPort: 80
name: http
protocol: TCP
resources: {}
resources:
limits:
memory: 256Mi
requests:
cpu: 50m
memory: 128Mi
---
apiVersion: v1
kind: Service
Expand Down

0 comments on commit 77e9266

Please sign in to comment.