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 unhealthy pod pattern #13

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

sll552
Copy link

@sll552 sll552 commented Nov 6, 2024

This pattern creates a Pod that is basically always unready but alive. The readiness is based on a value of the mounted configmap that gets changed every minute. The value is always changed to the "good" one first and after 10s it's changed back to the "bad" one.
The reason for that is that this way the configmap always looks like it has been just changed to the "bad" value which helps when e.g. using this in a live demo.

@sll552 sll552 requested a review from a team as a code owner November 6, 2024 14:13
@sll552 sll552 force-pushed the unhealthy-pod branch 4 times, most recently from 278aaa8 to 3aa6fc8 Compare November 11, 2024 16:13
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.

1 participant