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

Add startup probe to juice-shop pod #191

Merged
merged 2 commits into from Nov 8, 2023
Merged

Add startup probe to juice-shop pod #191

merged 2 commits into from Nov 8, 2023

Conversation

sharjeelaziz
Copy link
Contributor

This adds a startup probe with the same liveness checks to cover the worst case startup time. On slower nodes the container does not come up if it takes too long to during startup.

@J12934 J12934 added the enhancement New feature or request label Oct 27, 2023
Copy link
Member

@J12934 J12934 left a comment

Choose a reason for hiding this comment

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

Hi 👋

Ah yes good point / idea.

I'd like to tweak the numbers a bit to these one.

With this change the minimal startup time would otherwise increase from 5s -> 10s. Not a big deal but noticiable and not nearly as snappy.

With this change this might even make the start up even faster while still allowing it to start on slow machines.

juice-balancer/src/kubernetes.js Outdated Show resolved Hide resolved
Co-authored-by: Jannik Hollenbach <jannik@hollenbach.de>
Copy link
Member

@J12934 J12934 left a comment

Choose a reason for hiding this comment

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

looks good :)
sorry for the late replay, was a bit sick lately.
will create a small new release soon so that we have it in the latest version :)

@J12934 J12934 merged commit 3e42fbe into juice-shop:main Nov 8, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants