From e3e3499b2b11c1abb4e281ad9bfe6ff68eb27642 Mon Sep 17 00:00:00 2001 From: Brett Wright Date: Tue, 3 Oct 2023 11:39:13 +1100 Subject: [PATCH 1/3] Add kubernetes startup probe Signed-off-by: Brett Wright --- charts/backstage/Chart.yaml | 2 +- charts/backstage/README.md | 3 ++- charts/backstage/ci/probes-values.yaml | 10 ++++++++++ .../templates/backstage-deployment.yaml | 3 +++ charts/backstage/values.schema.json | 20 +++++++++++++++++++ charts/backstage/values.yaml | 16 +++++++++++++++ 6 files changed, 52 insertions(+), 2 deletions(-) diff --git a/charts/backstage/Chart.yaml b/charts/backstage/Chart.yaml index 29ef488..fc643cc 100644 --- a/charts/backstage/Chart.yaml +++ b/charts/backstage/Chart.yaml @@ -38,4 +38,4 @@ sources: # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.3.0 +version: 1.4.0 diff --git a/charts/backstage/README.md b/charts/backstage/README.md index 7a1a961..bb2aed8 100644 --- a/charts/backstage/README.md +++ b/charts/backstage/README.md @@ -2,7 +2,7 @@ # Backstage Helm Chart [![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/backstage)](https://artifacthub.io/packages/search?repo=backstage) -![Version: 1.3.0](https://img.shields.io/badge/Version-1.3.0-informational?style=flat-square) +![Version: 1.4.0](https://img.shields.io/badge/Version-1.4.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) A Helm chart for deploying a Backstage application @@ -143,6 +143,7 @@ Kubernetes: `>= 1.19.0-0` | backstage.replicas | Number of deployment replicas | int | `1` | | backstage.resources | Resource requests/limits
Ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#resource-requests-and-limits-of-pod-and-container | object | `{}` | | backstage.revisionHistoryLimit | Define the [count of deployment revisions](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#clean-up-policy) to be kept. May be set to 0 in case of GitOps deployment approach. | int | `10` | +| backstage.startupProbe | Startup Probe Backstage doesn't provide any health endpoints by default. A simple one can be added like this: https://backstage.io/docs/plugins/observability/#health-checks
Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes