Skip to content

Allow StartupProbe to be configured via helm #7807

Open
@shaun-nx

Description

@shaun-nx

Is your feature request related to a problem? Please describe.

User would like to configured their backend application with a health check before the pod starts

Problem definition:

  • Bad config ingress is applied to a running Nginx Ingress Pod.
  • Bad could be just a snippet that is not correct, even just missing a semi-column ( see attached example )
  • Ingress Pod continues working.
  • Ingress Pod fails is restarted or replaced
  • No configuration is being loaded but the readiness probes is successful

Describe the solution you'd like
I would like to be able to configure a StartupProbe for the Ingress Controller. I need to be confident that the /etc/nginx/conf.d/ directory was created successfully upon pod restart

Describe alternatives you've considered
Right now, we create dummy ingress that listens on a different port ( in our example 9999 ) and always responds with 200 OK and have pointed the readiness probe to this port.
Since this dummy ingress is part of the conf.d it will fail also when the configuration is loaded at startup and therefor the probs will fail.

Metadata

Metadata

Assignees

Labels

proposalAn issue that proposes a feature requestrefinedIssues that are ready to be prioritized

Type

No type

Projects

Status

In Review 👀

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions