diff --git a/integration-test/rollingupdate-kubernetes/kubernetes/akka-cluster-cr.yml b/integration-test/rollingupdate-kubernetes/kubernetes/akka-cluster-cr.yml index de273cb1..90e91d0f 100644 --- a/integration-test/rollingupdate-kubernetes/kubernetes/akka-cluster-cr.yml +++ b/integration-test/rollingupdate-kubernetes/kubernetes/akka-cluster-cr.yml @@ -64,7 +64,7 @@ spec: - name: REQUIRED_CONTACT_POINT_NR value: "3" - name: JAVA_TOOL_OPTIONS - value: "-XX:InitialRAMPercentage=60 -XX:MaxRAMPercentage=60 -Dakka.rollingupdate.kubernetes.custom-resource.enabled=on" + value: "-XX:InitialRAMPercentage=60 -XX:MaxRAMPercentage=60 -Xlog:gc -Dakka.rollingupdate.kubernetes.custom-resource.enabled=on" #deployment --- #rbac-reader diff --git a/integration-test/scripts/rollingupdate-kubernetes-cr-test.sh b/integration-test/scripts/rollingupdate-kubernetes-cr-test.sh index a3c48611..1451f718 100755 --- a/integration-test/scripts/rollingupdate-kubernetes-cr-test.sh +++ b/integration-test/scripts/rollingupdate-kubernetes-cr-test.sh @@ -22,6 +22,15 @@ do then break fi + + echo "" + echo "Logs from all $APP_NAME containers" + kubectl logs -l app=$APP_NAME --all-containers=true -n $NAMESPACE + + echo "" + echo "Logs from all previous $APP_NAME containers" + kubectl logs -p -l app=$APP_NAME --all-containers=true -n $NAMESPACE + sleep 4 done