Skip to content

Commit e492391

Browse files
committed
add threadpool to deployment
1 parent 75c602b commit e492391

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

charts/dbildungs-iam-keycloak/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ spec:
5050
env:
5151
- name: JAVA_OPTS_APPEND
5252
value: "-Djgroups.dns.query={{ template "common.names.name" . }}-headless.{{ template "common.names.namespace" . }}.svc.cluster.local"
53+
- name: KC_HTTP_POOL_MAX_THREADS
54+
value: {{ .Values.threadPool }}
5355
- name: KEYCLOAK_ADMIN_PASSWORD
5456
valueFrom:
5557
secretKeyRef:

charts/dbildungs-iam-keycloak/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ resources:
7979
memory: "1Gi"
8080
cpu: "150m"
8181

82+
# should be about 4 times the cpu count
83+
threadPool: 16
84+
8285
startupProbe:
8386
enabled: true
8487
httpGet:

0 commit comments

Comments
 (0)