Skip to content

docs: note inotify limits for scale test - #360

Merged
kubernetes-prow[bot] merged 1 commit into
kubernetes-sigs:mainfrom
Daniel-1600:docs/inotify-limits-scale-test
Aug 14, 2026
Merged

docs: note inotify limits for scale test#360
kubernetes-prow[bot] merged 1 commit into
kubernetes-sigs:mainfrom
Daniel-1600:docs/inotify-limits-scale-test

Conversation

@Daniel-1600

Copy link
Copy Markdown
Contributor

Description

Adds a troubleshooting note to Step 9 (Autoscaling Simulation Test) in
DEMO_ENVIRONMENT_SETUP.md, documenting inotify limit issue
encountered when scaling up to 4 kind worker nodes.

Screenshot From 2026-08-05 18-53-52

Related Issue

Type of Change

kind documentation

Testing

Manually reproduced and verified on a local Fedora dev machine:

  1. Ran the existing Step 9 scale-up command (kindscaler.sh nrr-test 2)
    to go from 2 to 4 worker nodes, with default
    fs.inotify.max_user_instances=128.
  2. Confirmed the failure: docker logs nrr-test-worker4 showed
    Failed to allocate manager object: Too many open files.
  3. Applied the documented fix (raised fs.inotify.max_user_instances
    and fs.inotify.max_user_watches via sysctl).
  4. Deleted the failed worker node and re-ran the scale-up command.
  5. Confirmed all 4 worker nodes started successfully and the rest of
    Step 9 (taint verification) completed as expected.

Checklist

  • make test passes
  • make lint passes

Does this PR introduce a user-facing change?

NONE

Doc #(issue)

@netlify

netlify Bot commented Aug 5, 2026

Copy link
Copy Markdown

Deploy Preview for node-readiness-controller ready!

Name Link
🔨 Latest commit e781c38
🔍 Latest deploy log https://app.netlify.com/projects/node-readiness-controller/deploys/6a7825881797a900086c9b8e
😎 Deploy Preview https://deploy-preview-360--node-readiness-controller.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@linux-foundation-easycla

linux-foundation-easycla Bot commented Aug 5, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: Daniel-1600 / name: Daniel Mungai (0b86c3b)

@kubernetes-prow

Copy link
Copy Markdown

Welcome @Daniel-1600!

It looks like this is your first PR to kubernetes-sigs/node-readiness-controller 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-sigs/node-readiness-controller has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@kubernetes-prow kubernetes-prow Bot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Aug 5, 2026
@kubernetes-prow

Copy link
Copy Markdown

Hi @Daniel-1600. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@kubernetes-prow kubernetes-prow Bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Aug 5, 2026
Comment thread docs/TEST_README.md Outdated
> watchers, etc.). The default Linux limit (`fs.inotify.max_user_instances`,
> often 128) is shared across your entire user session — desktop
> environment, editors, browsers, and other file-watching tools all draw
> from the same pool. On a typical dev machine, this budget can already be

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
> from the same pool. On a typical dev machine, this budget can already be
> from the same pool. On some dev environments, this budget can already be

Is this specific to any Unix distro? I haven't experienced such issues for scaling more kind nodes in test environments. Also we use kwok for large scale testing (ref #284 )

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Its not really specific to any distro , it depends with inotify budget configured on your machine by default like for fedora max instances were set as 128 as default . but i tend to believe it depends with kernel version cause some other distros ship with a higher configuration (even fedora the one im on) can ship with higher default instances set

Comment thread docs/TEST_README.md Outdated
> from the same pool. On a typical dev machine, this budget can already be
> significantly consumed before any kind nodes start, making it easy to
> hit `Failed to allocate manager object: Too many open files` when
> scaling to 3-4+ worker nodes.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
> scaling to 3-4+ worker nodes.
> scaling to more worker nodes.

@ajaysundark

Copy link
Copy Markdown
Contributor

/lgtm

@kubernetes-prow kubernetes-prow Bot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 9, 2026
Signed-off-by: Daniel Mungai <chegedan699@gmail.com>
@Daniel-1600
Daniel-1600 force-pushed the docs/inotify-limits-scale-test branch from 0b86c3b to e781c38 Compare August 9, 2026 07:00
@kubernetes-prow kubernetes-prow Bot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 9, 2026
@ajaysundark

Copy link
Copy Markdown
Contributor

/lgtm
/approve

@kubernetes-prow kubernetes-prow Bot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 14, 2026
@kubernetes-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ajaysundark, Daniel-1600

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubernetes-prow kubernetes-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 14, 2026
@kubernetes-prow
kubernetes-prow Bot merged commit dbb83df into kubernetes-sigs:main Aug 14, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants