Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add liveness + readiness Probe to deployment #163

Conversation

CarstenSon
Copy link
Contributor

@CarstenSon CarstenSon commented Jun 24, 2024

feature

  • created liveness + readiness probes in the deployment.

I usually dislike hard-coded ports and thought about creating a value containerPort or something similar for it (and referencing it in the service as well) but for now decided to use the hard-coded value as of now.

If you would like that more please let me know and I'll adjust it because otherwise it might get lost in future regressions

see 2nd commit/comment lol

closes #162

@CarstenSon
Copy link
Contributor Author

CarstenSon commented Jun 24, 2024

Update: I hate hard-coded values so much that I just set up a containerPort in the values-file which shouldn't have any effect and most likely is never overriden but replaces the hard-coded values in service, livenessProbe, readinessProbe and the container.port itself :-)

Copy link
Owner

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

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

Nice work! Thanks

@joe-elliott joe-elliott merged commit 65c33a0 into joe-elliott:master Jun 27, 2024
1 check passed
@joe-elliott joe-elliott mentioned this pull request Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add readiness probe and liveness probe to helm chart
2 participants