From b6439033a5c784db305b5afa77b421355d3fa186 Mon Sep 17 00:00:00 2001 From: Marcin Jasion <5058132+mjasion@users.noreply.github.com> Date: Tue, 19 Sep 2023 22:25:49 +0200 Subject: [PATCH] chore(workers): Set `terminationGracePeriodSeconds` in workers (#201) * chore(workers): Set `terminationGracePeriodSeconds` in workers * Helm-Docs update --------- Co-authored-by: Marcin Jasion --- charts/studio/Chart.yaml | 2 +- charts/studio/README.md | 2 +- charts/studio/templates/deployment-studio-dvcx-worker.yaml | 1 + charts/studio/templates/deployment-studio-worker.yaml | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/studio/Chart.yaml b/charts/studio/Chart.yaml index ae26ef90..5fc61d52 100644 --- a/charts/studio/Chart.yaml +++ b/charts/studio/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: studio description: A Helm chart for Kubernetes type: application -version: 0.6.5 +version: 0.6.6 appVersion: "v2.29.0" maintainers: - name: iterative diff --git a/charts/studio/README.md b/charts/studio/README.md index f6cc8df5..887285f9 100644 --- a/charts/studio/README.md +++ b/charts/studio/README.md @@ -1,6 +1,6 @@ # studio -![Version: 0.6.5](https://img.shields.io/badge/Version-0.6.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.29.0](https://img.shields.io/badge/AppVersion-v2.29.0-informational?style=flat-square) +![Version: 0.6.6](https://img.shields.io/badge/Version-0.6.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v2.29.0](https://img.shields.io/badge/AppVersion-v2.29.0-informational?style=flat-square) A Helm chart for Kubernetes diff --git a/charts/studio/templates/deployment-studio-dvcx-worker.yaml b/charts/studio/templates/deployment-studio-dvcx-worker.yaml index 30dfda0b..7d15ab72 100644 --- a/charts/studio/templates/deployment-studio-dvcx-worker.yaml +++ b/charts/studio/templates/deployment-studio-dvcx-worker.yaml @@ -35,6 +35,7 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} serviceAccountName: {{ include "studio.serviceAccountName" . }} + terminationGracePeriodSeconds: 150 securityContext: fsGroup: 103 fsGroupChangePolicy: "OnRootMismatch" diff --git a/charts/studio/templates/deployment-studio-worker.yaml b/charts/studio/templates/deployment-studio-worker.yaml index 560f2ea6..42a39824 100644 --- a/charts/studio/templates/deployment-studio-worker.yaml +++ b/charts/studio/templates/deployment-studio-worker.yaml @@ -31,6 +31,7 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} serviceAccountName: {{ include "studio.serviceAccountName" . }} + terminationGracePeriodSeconds: 180 securityContext: fsGroup: 103 fsGroupChangePolicy: "OnRootMismatch"