This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathfabric8-tenant-che-quotas.yml
90 lines (90 loc) · 1.76 KB
/
fabric8-tenant-che-quotas.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
---
apiVersion: v1
kind: List
items:
- apiVersion: v1
kind: LimitRange
metadata:
labels:
app: fabric8-tenant-che-quotas
provider: fabric8
version: "${COMMIT_QUOTAS}"
name: resource-limits
namespace: "${USER_NAME}-che"
spec:
limits:
- max:
cpu: 14000m
memory: 7Gi
min:
cpu: 29m
memory: 30Mi
type: Pod
- default:
cpu: "1"
memory: 512Mi
defaultRequest:
cpu: 60m
memory: 307Mi
max:
cpu: 14000m
memory: 7Gi
min:
cpu: 29m
memory: 30Mi
type: Container
- max:
storage: 1Gi
min:
storage: 1Gi
type: PersistentVolumeClaim
- apiVersion: v1
kind: ResourceQuota
metadata:
labels:
app: fabric8-tenant-che-quotas
provider: fabric8
version: "${COMMIT_QUOTAS}"
name: compute-resources
namespace: "${USER_NAME}-che"
spec:
hard:
limits.cpu: "14"
limits.memory: 7Gi
scopes:
- NotTerminating
- apiVersion: v1
kind: ResourceQuota
metadata:
labels:
app: fabric8-tenant-che-quotas
provider: fabric8
version: "${COMMIT_QUOTAS}"
name: compute-resources-timebound
namespace: "${USER_NAME}-che"
spec:
hard:
limits.cpu: "14"
limits.memory: 7Gi
scopes:
- Terminating
- apiVersion: v1
kind: ResourceQuota
metadata:
labels:
app: fabric8-tenant-che-quotas
provider: fabric8
version: "${COMMIT_QUOTAS}"
name: object-counts
namespace: "${USER_NAME}-che"
spec:
hard:
persistentvolumeclaims: "2"
replicationcontrollers: "20"
secrets: "20"
services: "15"
parameters:
- name: USER_NAME
value: developer
- name: COMMIT_QUOTAS
value: 123abc