diff --git a/k8s/dataset-knowledge-graph/graphdb-stateful-set.yml b/k8s/dataset-knowledge-graph/graphdb-stateful-set.yml index 3528911..1b17047 100644 --- a/k8s/dataset-knowledge-graph/graphdb-stateful-set.yml +++ b/k8s/dataset-knowledge-graph/graphdb-stateful-set.yml @@ -20,12 +20,13 @@ spec: requests: memory: 1.5Gi limits: - memory: 12Gi + memory: 13Gi env: - name: GDB_JAVA_OPTS value: | -Dgraphdb.workbench.cors.enable=true -Dgraphdb.engine.parallel-import=false + -Dhealth.max.query.time.seconds=60 - name: GDB_HEAP_SIZE value: 9g volumeMounts: @@ -35,10 +36,11 @@ spec: - containerPort: 7200 livenessProbe: httpGet: - path: /repositories/dataset-knowledge-graph-imports/health + path: /repositories/dataset-knowledge-graph-imports/health?passive port: 7200 - initialDelaySeconds: 60 + initialDelaySeconds: 200 periodSeconds: 5 + timeoutSeconds: 60 imagePullSecrets: - name: ghcr volumeClaimTemplates: diff --git a/k8s/graphdb/graphdb-stateful-set.yml b/k8s/graphdb/graphdb-stateful-set.yml index 5b70609..6082c37 100644 --- a/k8s/graphdb/graphdb-stateful-set.yml +++ b/k8s/graphdb/graphdb-stateful-set.yml @@ -15,19 +15,20 @@ spec: spec: containers: - name: database - image: ontotext/graphdb:10.4.1 + image: ontotext/graphdb:10.5.0 resources: requests: memory: 1.5Gi limits: - memory: 12Gi + memory: 8Gi env: - name: GDB_JAVA_OPTS value: | -Dgraphdb.workbench.cors.enable=true -Dgraphdb.engine.parallel-import=false + -Dhealth.max.query.time.seconds=60 - name: GDB_HEAP_SIZE - value: 9g + value: 6g volumeMounts: - mountPath: "/opt/graphdb/home" name: data @@ -35,10 +36,11 @@ spec: - containerPort: 7200 livenessProbe: httpGet: - path: /repositories/registry/health + path: /repositories/registry/health?passive port: 7200 - initialDelaySeconds: 60 + initialDelaySeconds: 100 periodSeconds: 5 + timeoutSeconds: 60 imagePullSecrets: - name: ghcr volumeClaimTemplates: