docs(quickstart): add Linux inotify prerequisite note#134
Open
MichaelSp wants to merge 1 commit into
Open
Conversation
The default fs.inotify.max_user_instances=128 is exhausted when running multiple Kind clusters, causing containerd inside the ControlPlane cluster to fail. This delays bootstrap significantly and triggers the exponential backoff bug described in cluster-provider-kind#163. Validated by reproducing the failure at 128 and confirming clean runs at 512. Signed-off-by: Michael Sprauer <Michael.Sprauer@sap.com>
8916034 to
cf410c9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fs.inotify.max_user_instancesbefore running the tutorial.sysctlcommands to apply the fix immediately, plus the persistence step (/etc/sysctl.d/99-kind.conf).Background
The default Linux inotify limit (
max_user_instances=128) is exhausted when running multiple Kind clusters simultaneously. When it is hit,containerdinside the ControlPlane Kind cluster fails to initialize, which delays the API server bootstrap significantly. This in turn triggers the exponential backoff bug described in cluster-provider-kind#163: theAccessRequestcontroller builds up a large backoff interval before the API server becomes reachable, leaving theAccessRequeststuck inPendingfor several minutes after the cluster is already healthy.Test plan
max_user_instances=128:AccessRequeststaysPending,clustercontroller logscould not find a log line matching "Reached target Multi-User System", backoff grows to 328s → 600s capmax_user_instances=512: full quickstart completes in under 7 minutes,AccessRequestgranted on first attempt with zero errors