From c2a38f77187a0e8c8508c92bdb28d50bc4c0c531 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Vonheiden?= <bjoern.vonheiden@hotmail.de> Date: Wed, 13 Oct 2021 10:26:41 +0200 Subject: [PATCH] add terminationGracePeriodSeconds of 0 to end pods in executions directly --- .../definitions/uc1-flink/resources/jobmanager-deployment.yaml | 3 ++- .../uc1-flink/resources/taskmanager-deployment.yaml | 1 + .../definitions/uc2-flink/resources/jobmanager-deployment.yaml | 3 ++- .../uc2-flink/resources/taskmanager-deployment.yaml | 1 + .../definitions/uc3-flink/resources/jobmanager-deployment.yaml | 3 ++- .../uc3-flink/resources/taskmanager-deployment.yaml | 1 + .../definitions/uc4-flink/resources/jobmanager-deployment.yaml | 3 ++- .../uc4-flink/resources/taskmanager-deployment.yaml | 1 + 8 files changed, 12 insertions(+), 4 deletions(-) diff --git a/theodolite-benchmarks/definitions/uc1-flink/resources/jobmanager-deployment.yaml b/theodolite-benchmarks/definitions/uc1-flink/resources/jobmanager-deployment.yaml index 512d4fe3c..1f328b1cd 100644 --- a/theodolite-benchmarks/definitions/uc1-flink/resources/jobmanager-deployment.yaml +++ b/theodolite-benchmarks/definitions/uc1-flink/resources/jobmanager-deployment.yaml @@ -14,6 +14,7 @@ spec: app: flink component: jobmanager spec: + terminationGracePeriodSeconds: 0 containers: - name: jobmanager image: ghcr.io/cau-se/theodolite-uc1-flink:latest @@ -90,4 +91,4 @@ spec: emptyDir: {} # - name: job-artifacts-volume # hostPath: -# path: /host/path/to/job/artifacts \ No newline at end of file +# path: /host/path/to/job/artifacts diff --git a/theodolite-benchmarks/definitions/uc1-flink/resources/taskmanager-deployment.yaml b/theodolite-benchmarks/definitions/uc1-flink/resources/taskmanager-deployment.yaml index 7d4655469..c2266a4ae 100644 --- a/theodolite-benchmarks/definitions/uc1-flink/resources/taskmanager-deployment.yaml +++ b/theodolite-benchmarks/definitions/uc1-flink/resources/taskmanager-deployment.yaml @@ -14,6 +14,7 @@ spec: app: flink component: taskmanager spec: + terminationGracePeriodSeconds: 0 containers: - name: taskmanager image: ghcr.io/cau-se/theodolite-uc1-flink:latest diff --git a/theodolite-benchmarks/definitions/uc2-flink/resources/jobmanager-deployment.yaml b/theodolite-benchmarks/definitions/uc2-flink/resources/jobmanager-deployment.yaml index cece4286d..87ea174f7 100644 --- a/theodolite-benchmarks/definitions/uc2-flink/resources/jobmanager-deployment.yaml +++ b/theodolite-benchmarks/definitions/uc2-flink/resources/jobmanager-deployment.yaml @@ -14,6 +14,7 @@ spec: app: flink component: jobmanager spec: + terminationGracePeriodSeconds: 0 containers: - name: jobmanager image: ghcr.io/cau-se/theodolite-uc2-flink:latest @@ -90,4 +91,4 @@ spec: emptyDir: {} # - name: job-artifacts-volume # hostPath: -# path: /host/path/to/job/artifacts \ No newline at end of file +# path: /host/path/to/job/artifacts diff --git a/theodolite-benchmarks/definitions/uc2-flink/resources/taskmanager-deployment.yaml b/theodolite-benchmarks/definitions/uc2-flink/resources/taskmanager-deployment.yaml index c0a10f65a..c37df972a 100644 --- a/theodolite-benchmarks/definitions/uc2-flink/resources/taskmanager-deployment.yaml +++ b/theodolite-benchmarks/definitions/uc2-flink/resources/taskmanager-deployment.yaml @@ -14,6 +14,7 @@ spec: app: flink component: taskmanager spec: + terminationGracePeriodSeconds: 0 containers: - name: taskmanager image: ghcr.io/cau-se/theodolite-uc2-flink:latest diff --git a/theodolite-benchmarks/definitions/uc3-flink/resources/jobmanager-deployment.yaml b/theodolite-benchmarks/definitions/uc3-flink/resources/jobmanager-deployment.yaml index 33bf1f112..d01123b13 100644 --- a/theodolite-benchmarks/definitions/uc3-flink/resources/jobmanager-deployment.yaml +++ b/theodolite-benchmarks/definitions/uc3-flink/resources/jobmanager-deployment.yaml @@ -14,6 +14,7 @@ spec: app: flink component: jobmanager spec: + terminationGracePeriodSeconds: 0 containers: - name: jobmanager image: ghcr.io/cau-se/theodolite-uc3-flink:latest @@ -90,4 +91,4 @@ spec: emptyDir: {} # - name: job-artifacts-volume # hostPath: -# path: /host/path/to/job/artifacts \ No newline at end of file +# path: /host/path/to/job/artifacts diff --git a/theodolite-benchmarks/definitions/uc3-flink/resources/taskmanager-deployment.yaml b/theodolite-benchmarks/definitions/uc3-flink/resources/taskmanager-deployment.yaml index 8f70b7308..495f97817 100644 --- a/theodolite-benchmarks/definitions/uc3-flink/resources/taskmanager-deployment.yaml +++ b/theodolite-benchmarks/definitions/uc3-flink/resources/taskmanager-deployment.yaml @@ -14,6 +14,7 @@ spec: app: flink component: taskmanager spec: + terminationGracePeriodSeconds: 0 containers: - name: taskmanager image: ghcr.io/cau-se/theodolite-uc3-flink:latest diff --git a/theodolite-benchmarks/definitions/uc4-flink/resources/jobmanager-deployment.yaml b/theodolite-benchmarks/definitions/uc4-flink/resources/jobmanager-deployment.yaml index b6533a2c4..032499ea4 100644 --- a/theodolite-benchmarks/definitions/uc4-flink/resources/jobmanager-deployment.yaml +++ b/theodolite-benchmarks/definitions/uc4-flink/resources/jobmanager-deployment.yaml @@ -14,6 +14,7 @@ spec: app: flink component: jobmanager spec: + terminationGracePeriodSeconds: 0 containers: - name: jobmanager image: ghcr.io/cau-se/theodolite-uc4-flink:latest @@ -90,4 +91,4 @@ spec: emptyDir: {} # - name: job-artifacts-volume # hostPath: -# path: /host/path/to/job/artifacts \ No newline at end of file +# path: /host/path/to/job/artifacts diff --git a/theodolite-benchmarks/definitions/uc4-flink/resources/taskmanager-deployment.yaml b/theodolite-benchmarks/definitions/uc4-flink/resources/taskmanager-deployment.yaml index 7363b013b..7af13f20b 100644 --- a/theodolite-benchmarks/definitions/uc4-flink/resources/taskmanager-deployment.yaml +++ b/theodolite-benchmarks/definitions/uc4-flink/resources/taskmanager-deployment.yaml @@ -14,6 +14,7 @@ spec: app: flink component: taskmanager spec: + terminationGracePeriodSeconds: 0 containers: - name: taskmanager image: ghcr.io/cau-se/theodolite-uc4-flink:latest -- GitLab