Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.

Enable configuration of startupProbe in containers created using Helm#1370

Merged
dilverse merged 1 commit into
masterfrom
helm_probe_configuration
Dec 15, 2022
Merged

Enable configuration of startupProbe in containers created using Helm#1370
dilverse merged 1 commit into
masterfrom
helm_probe_configuration

Conversation

@allanrogerr
Copy link
Copy Markdown
Contributor

Startup probe has been implemented as part of the Helm install. This functionality will be available in the next release. This probe may be added as part of operator/helm/tenant/values.yaml. See example value content below:

  # Startup Probe for container startup. Container will be restarted if the probe fails.
  # Refer https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
  startup:
    tcpSocket:
      port: 9000
    initialDelaySeconds: 15
    timeoutSeconds: 10
    periodSeconds: 20
    successThreshold: 1
    failureThreshold: 2

After a helm install with the above example startup probe, the containers will register:

startupProbe:
      failureThreshold: 2
      initialDelaySeconds: 15
      periodSeconds: 20
      successThreshold: 1
      tcpSocket:
        port: 9000
      timeoutSeconds: 10

Copy link
Copy Markdown
Contributor

@cniackz cniackz left a comment

Choose a reason for hiding this comment

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

LGTM

@dilverse dilverse linked an issue Dec 15, 2022 that may be closed by this pull request
@dilverse dilverse merged commit 15a8eb4 into master Dec 15, 2022
@dilverse dilverse deleted the helm_probe_configuration branch December 15, 2022 09:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow configuration of probes for created containers in Helm chart

3 participants