Skip to content

Commit 5c164dc

Browse files
author
Your Name
committed
fix keycloak limits
1 parent a11e28a commit 5c164dc

File tree

4 files changed

+64
-27
lines changed

4 files changed

+64
-27
lines changed

charts/opencloud-microservices/deployments/helm/helmfile.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@ releases:
3333
persistence:
3434
size: "40Gi"
3535
accessModes:
36-
- ReadWriteMany
37-
storageClassName: ceph-cephfs
36+
- ReadWriteOnce
37+
storageClassName:
3838
- onlyoffice:
3939
enabled: false
4040
domain: onlyoffice.opencloud.test # Domain for OnlyOffice.
4141
persistence:
4242
size: "2Gi"
4343
accessModes:
44-
- ReadWriteMany
45-
storageClassName: ceph-cephfs
44+
- ReadWriteOnce
45+
storageClassName:
4646

4747
- collabora:
4848
enabled: true
@@ -125,31 +125,31 @@ releases:
125125
enabled: true
126126
size: "10Gi"
127127
accessModes:
128-
- ReadWriteMany
129-
storageClassName: ceph-cephfs
128+
- ReadWriteOnce
129+
storageClassName:
130130
search:
131131
persistence:
132132
enabled: true
133133
size: "10Gi"
134134
accessModes:
135-
- ReadWriteMany
136-
storageClassName: ceph-cephfs
135+
- ReadWriteOnce
136+
storageClassName:
137137
extractor:
138138
type: tika
139139
storagesystem:
140140
persistence:
141141
enabled: true
142142
size: "5Gi"
143143
accessModes:
144-
- ReadWriteMany
145-
storageClassName: ceph-cephfs
144+
- ReadWriteOnce
145+
storageClassName:
146146
storageusers:
147147
persistence:
148148
enabled: true
149149
size: "60Gi"
150150
accessModes:
151-
- ReadWriteMany
152-
storageClassName: ceph-cephfs
151+
- ReadWriteOnce
152+
storageClassName:
153153
storageBackend:
154154
driver: posix
155155

@@ -158,15 +158,15 @@ releases:
158158
enabled: true
159159
size: "10Gi"
160160
accessModes:
161-
- ReadWriteMany
162-
storageClassName: ceph-cephfs
161+
- ReadWriteOnce
162+
storageClassName:
163163
web:
164164
persistence:
165165
enabled: true
166166
size: "1Gi"
167167
accessModes:
168-
- ReadWriteMany
169-
storageClassName: ceph-cephfs
168+
- ReadWriteOnce
169+
storageClassName:
170170
config:
171171
oidc:
172172
webClientID: web
@@ -240,15 +240,15 @@ releases:
240240
enabled: false
241241
size: "10Gi"
242242
accessModes:
243-
- ReadWriteMany
244-
storageClassName: ceph-cephfs
243+
- ReadWriteOnce
244+
storageClassName:
245245
ocm:
246246
persistence:
247247
enabled: false
248248
size: "1Gi"
249249
accessModes:
250-
- ReadWriteMany
251-
storageClassName: ceph-cephfs
250+
- ReadWriteOnce
251+
storageClassName:
252252
- extraResources:
253253
- |
254254
apiVersion: v1

charts/opencloud-microservices/deployments/timoni/configmap.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,28 @@ data:
4646
# Comma-separated for runtime to split into a list, e.g. "ReadWriteMany" or "ReadWriteOnce,ReadOnlyMany"
4747
PERSISTENCE_ACCESS_MODES: "ReadWriteMany"
4848

49+
###############################################################################
50+
# Persistence (service PVC sizes and toggles)
51+
###############################################################################
52+
IDM_PERSISTENCE_ENABLED: "false"
53+
IDM_PERSISTENCE_SIZE: "10Gi"
54+
NATS_PERSISTENCE_ENABLED: "true"
55+
NATS_PERSISTENCE_SIZE: "10Gi"
56+
OCM_PERSISTENCE_ENABLED: "false"
57+
OCM_PERSISTENCE_SIZE: "1Gi"
58+
ONLYOFFICE_PERSISTENCE_SIZE: "2Gi"
59+
SEARCH_PERSISTENCE_ENABLED: "true"
60+
SEARCH_PERSISTENCE_SIZE: "10Gi"
61+
STORAGE_USERS_BACKEND_DRIVER: "posix"
62+
STORAGE_SYSTEM_PERSISTENCE_ENABLED: "true"
63+
STORAGE_SYSTEM_PERSISTENCE_SIZE: "5Gi"
64+
STORAGE_USERS_PERSISTENCE_ENABLED: "true"
65+
STORAGE_USERS_PERSISTENCE_SIZE: "50Gi"
66+
THUMBNAILS_PERSISTENCE_ENABLED: "true"
67+
THUMBNAILS_PERSISTENCE_SIZE: "10Gi"
68+
WEB_PERSISTENCE_ENABLED: "true"
69+
WEB_PERSISTENCE_SIZE: "1Gi"
70+
4971
# NATS specific persistence options
5072
# When true, a root init container will chown the NATS data volume before the main container starts.
5173
NATS_PERSISTENCE_CHOWN_INIT_CONTAINER: "false"
@@ -90,6 +112,11 @@ data:
90112
OIDC_USER_ID_CLAIM_ATTRIBUTE_MAPPING: "username"
91113
OIDC_ROLE_ASSIGNMENT_CLAIM: "roles"
92114

115+
###############################################################################
116+
# Search Configuration
117+
###############################################################################
118+
SEARCH_EXTRACTOR_TYPE: "tika"
119+
93120
###############################################################################
94121
# Collabora Configuration
95122
###############################################################################

charts/opencloud-microservices/deployments/timoni/opencloud.cue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ bundle: {
2121
namespace: "opencloud"
2222
values: {
2323
repository: {
24-
url: "oci://ghcr.io/opencloud-eu/helm-charts"
24+
url: "oci://ghcr.io/suse-coder/helm-charts"
2525
}
2626
chart: {
2727
name: "opencloud-microservices"
28-
version: "0.1.0"
28+
version: "0.2.0"
2929
}
3030
sync: {
3131
timeout: 10

charts/opencloud-microservices/templates/keycloak/deployment.yaml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,23 +80,33 @@ spec:
8080
subPath: opencloud-realm.json
8181
resources:
8282
limits:
83-
cpu: 1000m
84-
memory: 1Gi
83+
cpu: 3000m
84+
memory: 5Gi
8585
requests:
8686
cpu: 500m
8787
memory: 512Mi
88+
startupProbe:
89+
httpGet:
90+
path: /health/ready
91+
port: http
92+
periodSeconds: 10
93+
failureThreshold: 30
8894
readinessProbe:
8995
httpGet:
90-
path: /realms/master
96+
path: /health/ready
9197
port: http
9298
initialDelaySeconds: 30
99+
periodSeconds: 10
93100
timeoutSeconds: 5
101+
failureThreshold: 12
94102
livenessProbe:
95103
httpGet:
96-
path: /realms/master
104+
path: /health/live
97105
port: http
98-
initialDelaySeconds: 60
106+
initialDelaySeconds: 90
107+
periodSeconds: 10
99108
timeoutSeconds: 5
109+
failureThreshold: 6
100110
volumes:
101111
- name: script
102112
configMap:

0 commit comments

Comments
 (0)