Skip to content

feat(helm): add startup probe support to deployment template#2768

Open
TwoStone wants to merge 1 commit intotchiotludo:devfrom
TwoStone:feat/helm-startup-probe
Open

feat(helm): add startup probe support to deployment template#2768
TwoStone wants to merge 1 commit intotchiotludo:devfrom
TwoStone:feat/helm-startup-probe

Conversation

@TwoStone
Copy link

Summary

Add a configurable startupProbe to the Helm chart deployment template, following the same pattern as the existing readinessProbe and livenessProbe.

Motivation

Startup probes are useful for applications that have slow startup times. Unlike liveness probes, the startup probe only runs during initial container startup, preventing Kubernetes from killing pods that are still initializing. This is especially relevant for AKHQ when connecting to large Kafka clusters where the initial health check may take longer.

Changes

  • helm/akhq/templates/deployment.yaml — Added startupProbe block after the readinessProbe, with the same configurable fields (httpGet, prefix, path, port, httpGetExtra, and all timing parameters).
  • helm/akhq/values.yaml — Added default startupProbe configuration:
    • Disabled by default (enabled: false) to avoid breaking existing deployments
    • Uses /health endpoint on the management port
    • initialDelaySeconds: 0, periodSeconds: 10, failureThreshold: 30 — allows up to ~5 minutes for the application to start

Usage

Enable the startup probe in your values override:

startupProbe:
  enabled: true

Add a configurable startupProbe to the Helm chart, following the same
pattern as the existing readinessProbe and livenessProbe.

The startup probe is disabled by default to avoid breaking existing
deployments. When enabled, it uses the /health endpoint on the
management port with a failureThreshold of 30 and periodSeconds of 10,
allowing up to ~5 minutes for the application to start.
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants