Skip to content

issue 8649: host_pods should not be mandatory to node-agent #8774

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

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

mpryc
Copy link
Contributor

@mpryc mpryc commented Mar 10, 2025

Fixes #8649. The host_pods path should not be mandatory for node-agent.

This update enables the node-agent to start even if the /host_pods path does not exist. If the path is present, the existing logic remains unchanged, ensuring it is readable.

This PR does not address mounting (or omitting) the /host_pods directory.

Additionally, this change specifically resolves #8649 and not #8185, which requires further design work and will be handled in a separate PR.

@kaovilai
Copy link
Collaborator

Don't be alarmed about e2e tests.. unrelated to PR #8766

Copy link

codecov bot commented Mar 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.54%. Comparing base (1516e72) to head (b4eee87).
Report is 8 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8774   +/-   ##
=======================================
  Coverage   59.53%   59.54%           
=======================================
  Files         371      371           
  Lines       40196    40239   +43     
=======================================
+ Hits        23932    23959   +27     
- Misses      14767    14780   +13     
- Partials     1497     1500    +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mpryc mpryc force-pushed the upstream_8649 branch 3 times, most recently from 8d92ebd to 8579586 Compare March 11, 2025 08:10
Enables the node-agent to start even if the
/host_pods path does not exist.

If the path is present, the existing logic
remains unchanged, ensuring it is readable.

Signed-off-by: Michal Pryc <[email protected]>
@mpryc
Copy link
Contributor Author

mpryc commented Mar 11, 2025

Squashed the 3 changes to make downstream cherry-pick clean.

@Lyndon-Li Lyndon-Li merged commit d1a244e into vmware-tanzu:main Mar 12, 2025
34 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

host_pods should not be mandatory to node-agent after 1.15
4 participants