Skip to content

Commit 2c274db

Browse files
committed
fix limit of resources in quota
Signed-off-by: IvanHunters <[email protected]>
1 parent 2dc166b commit 2c274db

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

‎hack/e2e-install-cozystack.bats‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ spec:
190190
isolated: true
191191
monitoring: false
192192
resourceQuotas:
193-
cpu: "16000m"
193+
cpu: "16"
194194
memory: "20Gi"
195195
storage: "100Gi"
196196
seaweedfs: false

‎packages/apps/tenant/templates/quota.yaml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,19 @@ metadata:
77
spec:
88
hard:
99
{{- include "cozy-lib.resources.flatten" (list .Values.resourceQuotas $) | nindent 6 }}
10+
---
11+
apiVersion: v1
12+
kind: LimitRange
13+
metadata:
14+
name: tenant-range-limits
15+
namespace: {{ include "tenant.name" . }}
16+
spec:
17+
limits:
18+
- default:
19+
cpu: "500m"
20+
memory: "512Mi"
21+
defaultRequest:
22+
cpu: "100m"
23+
memory: "128Mi"
24+
type: Container
1025
{{- end }}

0 commit comments

Comments
 (0)