Skip to content

Conversation

@yash97
Copy link
Contributor

@yash97 yash97 commented Sep 30, 2025

Issue #, if available:

Description of changes:
To not manage nodes, when node has label, for compute type auto. Right now user can edit node label and add label vpc.amazonaws.com/has-trunk-attached which will bypass vpc-rc check of cni node updated or not with SGPP. So vpc-rc will try to attach trunk interface to auto node.

This PR ignores processing of node if label of compute type has value of auto.

Testing done

  1. Added label in auto cluster which triggered vpc-rc to attach trunk interface.
  2. Replaced vpc-rc image, built with this change, updated labels on new node, it was not attempted by vpc-rc to manage it.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@yash97 yash97 requested a review from a team as a code owner September 30, 2025 23:49
Subzidion
Subzidion previously approved these changes Sep 30, 2025
@yash97 yash97 dismissed Subzidion’s stale review October 1, 2025 00:31

need to to change log level here as V(1) log will only get printed in debug level mode.

@yash97 yash97 force-pushed the ignore_auto_nodes branch from 2311b3c to 6111dbd Compare October 1, 2025 00:52
@yash97 yash97 requested a review from Subzidion October 1, 2025 00:55
@yash97 yash97 merged commit c3b4991 into aws:master Oct 1, 2025
4 checks passed
yash97 added a commit that referenced this pull request Oct 13, 2025
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.

2 participants