apache / apache/apisix-helm-chart

Request to add livenessProbe support in Helm chart

Open
#781 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go Template
Stars
289
Forks
282
Avg merge
15h 55m
Merged PRs (30d)
3

Description

I noticed that there is currently no option to configure livenessProbe for the containers in the Helm chart. This is an important feature for ensuring the health and resiliency of deployments in Kubernetes.

Could you please consider adding support for livenessProbe configuration in the Helm chart, similar to how readinessProbe is supported? This would allow users to set health checks for the containers to automatically restart them in case of failures.

Proposed Solution:

It would be beneficial to include options for livenessProbe in the values.yaml file. Here is an example of what could be added:

livenessProbe:
httpGet:
path: /healthz
port: 9080
scheme: HTTP
initialDelaySeconds: 30
periodSeconds: 10
failureThreshold: 3
timeoutSeconds: 3
successThreshold: 1

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with values.yaml and trace how the existing readinessProbe option is represented in the Helm chart templates. Add the corresponding livenessProbe configuration and render the chart with representative values to confirm the generated Kubernetes container spec contains the requested probe settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
helm, kubernetes
Domain
devops, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.