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

feat(ec2): support not materialize meta data item in cfg #5838

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jinkkkang
Copy link
Contributor

Proposed Commit Message

feat(ec2): configure meta data item in cfg to not materialize

Cloud vendors provide a lot of information in meta data,but some of the
information may not be needed by cloudinit. When iterating through the 
materialization function (helpers/ec2.py), it may need to be ignored,
such as security-credentials in the previous code. We would like to
provide a configuration item to configure the allowable field name to
be ignored. This can save cloudinit startup time when there is a large
amount of data that can be ignored. One case is that in the meta data
provided by Alibaba Cloud, there is a disks item that contains
information about the disks on the instance, but cloudinit does not use
it. When there are a large number of disks in the metadata data, this
can cause many unnecessary HTTP access. This feature allows users to 
ignore accessing some unused data

Additional Context

Test Steps

Merge type

  • Squash merge using "Proposed Commit Message"
  • Rebase and merge unique commits. Requires commit messages per-commit each referencing the pull request number (#<PR_NUM>)

@jinkkkang jinkkkang force-pushed the support_ignore_item_metadata branch 2 times, most recently from 646ac13 to bb7686e Compare October 23, 2024 03:20
@jinkkkang
Copy link
Contributor Author

@TheRealFalcon pls help a review

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.

1 participant