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

kubernetes: create node-feature-discovery directory #1863

Merged

Conversation

arnaldo2792
Copy link
Contributor

Issue number:
N / A

Description of changes:
Related to #1799 , that PR is quite big. I'm taking some of the commits in that PR as their individual PR.

19ec743c  kubernetes: create node-feature-discovery directory

For plugins to properly work with the Node Feature Discovery implementation, the plugin has to have read/write access to /etc/node-feature-discovery/features.d. With this commit, the directory is created as a symlink to
/var/lib/kubelet/node-feature-discovery/features.d.

Testing done:
In aws-k8s-1.18,1.19,1.20,1.21:

  • Deployed the node-feature-discovery daemonset with helm
  • Verified the daemonset's pods were running and had access to /etc/node-feature-discovery/features.d

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

For plugins to properly work with the Node Feature Discovery
implementation, the plugin has to have read/write access to
/etc/node-feature-discovery/features.d. With this commit, the directory
is created as a symlink to
/var/lib/kubelet/node-feature-discovery/features.d
@arnaldo2792 arnaldo2792 merged commit 36aff75 into bottlerocket-os:develop Dec 10, 2021
@arnaldo2792 arnaldo2792 deleted the node-feature-discovery branch December 10, 2021 20:29
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.

4 participants