Skip to content

Commit

Permalink
add missing volumeMounts;
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Maute <stefan.maute@bosch.io>
  • Loading branch information
Stefan Maute committed May 20, 2021
1 parent 6d4e8b6 commit 866374a
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions deployment/kubernetes/deploymentFiles/ditto/ditto-cluster.yaml
Expand Up @@ -36,6 +36,9 @@ spec:
limits:
# cpu: "" no cpu limit to avoid CFS scheduler limits see https://doc.akka.io/docs/akka/snapshot/additional/deploy.html#in-kubernetes
memory: "2Gi"
volumeMounts:
- name: ditto-log-files
mountPath: /opt/ditto
ports:
- name: remoting
containerPort: 2551
Expand Down Expand Up @@ -132,6 +135,9 @@ spec:
limits:
# cpu: "" no cpu limit to avoid CFS scheduler limits see https://doc.akka.io/docs/akka/snapshot/additional/deploy.html#in-kubernetes
memory: "4Gi"
volumeMounts:
- name: ditto-log-files
mountPath: /opt/ditto
ports:
- name: remoting
containerPort: 2551
Expand Down Expand Up @@ -189,7 +195,6 @@ spec:
path: /var/log/ditto
type: DirectoryOrCreate


---

apiVersion: apps/v1
Expand Down Expand Up @@ -229,6 +234,9 @@ spec:
limits:
# cpu: "" no cpu limit to avoid CFS scheduler limits see https://doc.akka.io/docs/akka/snapshot/additional/deploy.html#in-kubernetes
memory: "4Gi"
volumeMounts:
- name: ditto-log-files
mountPath: /opt/ditto
ports:
- name: remoting
containerPort: 2551
Expand Down Expand Up @@ -324,6 +332,9 @@ spec:
limits:
# cpu: "" no cpu limit to avoid CFS scheduler limits see https://doc.akka.io/docs/akka/snapshot/additional/deploy.html#in-kubernetes
memory: "2Gi"
volumeMounts:
- name: ditto-log-files
mountPath: /opt/ditto
ports:
- name: remoting
containerPort: 2551
Expand Down Expand Up @@ -419,6 +430,9 @@ spec:
limits:
# cpu: "" no cpu limit to avoid CFS scheduler limits see https://doc.akka.io/docs/akka/snapshot/additional/deploy.html#in-kubernetes
memory: "2Gi"
volumeMounts:
- name: ditto-log-files
mountPath: /opt/ditto
ports:
- name: remoting
containerPort: 2551
Expand Down Expand Up @@ -555,7 +569,7 @@ spec:
- name: TZ
value: "Europe/Berlin"
- name: OPENJ9_JAVA_OPTIONS
value: "-Xgcpolicy:gencon -Xgc:concurrentScavenge -XX:+IdleTuningGcOnIdle -XX:+ExitOnOutOfMemoryError -Xtune:virtualized -Xss512k -XX:MaxRAMPercentage=80 -Dakka.coordinated-shutdown.exit-jvm=on -Dakka.cluster.shutdown-after-unsuccessful-join-seed-nodes=120s"
value: "-Xgcpolicy:gencon -Xgc:concurrentScavenge -XX:+IdleTuningGcOnIdle -XX:+ExitOnOutOfMemoryError -Xtune:virtualized -Xss512k -XX:MaxRAMPercentage=80 -Dakka.coordinated-shutdown.exit-jvm=on -Dakka.cluster.shutdown-after-unsuccessful-join-seed-nodes=120s"
# in order to write logs into a file you can enable this by setting the following env variable
# the log file(s) can be found in /opt/ditto directory on the host machine
#- name: FILE_APPENDER
Expand Down

0 comments on commit 866374a

Please sign in to comment.