You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The newly introduced startup probe gives the redis less time to startup, leading to crash loops for servers that take longer to startup. The repeated crashes also lead to the PVC filling up because new temp-rdb files are constantly created.
Leading to 5+(3*15)=50 seconds slag for the redis, which is less than what the liveness probe allows and the opposite of what a startup probe is made for. To quote kubernetes documentation on startup probes:
The solution is to set up a startup probe with the same command, HTTP or TCP check, with a failureThreshold * periodSeconds long enough to cover the worst case startup time.
To Reproduce
Steps to reproduce the behavior:
Have a redis that needs a bit longer to startup
Update to a version newer than 4.27.8 which introduces the new startup probe
Experience CrashLoops for first new node that is rolled over
See error
Expected behavior
Use at least the same defaults as for the liveness probe!
The text was updated successfully, but these errors were encountered:
Describe the bug
The newly introduced startup probe gives the redis less time to startup, leading to crash loops for servers that take longer to startup. The repeated crashes also lead to the PVC filling up because new temp-rdb files are constantly created.
The "old" liveness probes use these defaults:
That means it waits 30+(5*15)=105 seconds that redis is allowed to need for startup. The new startup probe has these defaults:
Leading to 5+(3*15)=50 seconds slag for the redis, which is less than what the liveness probe allows and the opposite of what a startup probe is made for. To quote kubernetes documentation on startup probes:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Use at least the same defaults as for the liveness probe!
The text was updated successfully, but these errors were encountered: