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

fix: Apply Tags consistently across NIC, VM and Disks #246

Merged
merged 46 commits into from
Apr 26, 2024

Conversation

iamvighnesh
Copy link
Contributor

@iamvighnesh iamvighnesh commented Apr 3, 2024

Fixes #75

Description

This fix consolidates Tags applied on various Azure resources like NIC, VMs and Disks in one place.

How was this change tested?

  • Tested manually with multiple Karpenter managed node pools
  • Acceptance tests are also added for coverage

Does this change impact docs?

  • No

Release Note

NONE

@coveralls
Copy link

coveralls commented Apr 3, 2024

Pull Request Test Coverage Report for Build 8842495803

Details

  • 4 of 4 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 97.774%

Totals Coverage Status
Change from base Build 8842042656: 0.0%
Covered Lines: 36283
Relevant Lines: 37109

💛 - Coveralls

Copy link
Collaborator

@Bryce-Soghigian Bryce-Soghigian left a comment

Choose a reason for hiding this comment

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

Can you add some tests with our framework to validate the tags are set on the network interface? The tests for nic are in pkg/providers/instancetype/suite_test.go

@iamvighnesh iamvighnesh marked this pull request as draft April 3, 2024 01:27
@iamvighnesh iamvighnesh marked this pull request as ready for review April 4, 2024 17:13
@tallaxes tallaxes added the area/networking Issues or PRs related to networking label Apr 5, 2024
Copy link
Collaborator

@Bryce-Soghigian Bryce-Soghigian left a comment

Choose a reason for hiding this comment

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

/approve cc: @Azure/karpenter can we get another reviewer to approve to get this in?

Note we need two approvers for external contributors

Copy link
Collaborator

@tallaxes tallaxes left a comment

Choose a reason for hiding this comment

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

/test

Copy link
Collaborator

@tallaxes tallaxes left a comment

Choose a reason for hiding this comment

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

@tallaxes tallaxes merged commit 138a91a into Azure:main Apr 26, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/networking Issues or PRs related to networking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tag network interfaces with karpenter.sh_nodepool
4 participants