From d29cbfb32015b4c83bc520d95383ace47ac922c7 Mon Sep 17 00:00:00 2001 From: LecygneNoir Date: Thu, 3 Jun 2021 12:27:32 +0200 Subject: [PATCH 1/2] Fix startupProbe port using http instead of 9000, and adapt initialDelay to avoid longer start when the instance starts quickly --- templates/deployment.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 668705d..c4694dd 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -103,8 +103,8 @@ spec: startupProbe: httpGet: path: / - port: http - initialDelaySeconds: 300 + port: 9000 + initialDelaySeconds: 60 failureThreshold: 3000 periodSeconds: 10 livenessProbe: @@ -134,8 +134,8 @@ spec: startupProbe: httpGet: path: / - port: http - initialDelaySeconds: 300 + port: 9000 + initialDelaySeconds: 60 failureThreshold: 3000 periodSeconds: 10 livenessProbe: From 5525e601dfdda8c6527ecae2e4eabb7148ca7ce6 Mon Sep 17 00:00:00 2001 From: LecygneNoir Date: Thu, 3 Jun 2021 12:29:21 +0200 Subject: [PATCH 2/2] bump version to 1.2.1 --- CHANGELOG.md | 6 ++++++ Chart.yaml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5eb889..480ffda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v1.2.1 + +## Fix + - Adjust initialDelaySecond for startupProbe to avoid waiting 5min even if the instance starts quickly + - Adjust startupProbe port to use 9000 instead of http + # v1.2.0 ## Features diff --git a/Chart.yaml b/Chart.yaml index 98cf2b3..c027feb 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -2,4 +2,4 @@ apiVersion: v1 appVersion: "v2.3.0-buster" description: A Helm chart for Kubernetes name: peertube -version: 1.1.2 +version: 1.2.1