Skip to content

Conversation

@GnatorX
Copy link
Contributor

@GnatorX GnatorX commented Feb 6, 2026

What type of PR is this?
feature

Which issue does this PR fix?:

#3586

What does this PR do / Why do we need it?:

  • Add tuning plugin to CNI plugin chain.
  • Support tuning config

Testing done on this change:

  • Unit test.
  • Integration test TBD

Will this PR introduce any new dependencies?:

  • No, tuning plugin is already used minimally in VPC CNI

Will this break upgrades or downgrades? Has updating a running cluster been tested?:

  • No

Does this change require updates to the CNI daemonset config files to work?:

  • No
    Does this PR introduce any user-facing change?:

Yes.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@GnatorX GnatorX marked this pull request as ready for review February 6, 2026 05:11
@GnatorX GnatorX requested a review from a team as a code owner February 6, 2026 05:11

// Add IPv6 disable sysctls when DISABLE_POD_V6 is enabled
if disablePodV6 {
sysctls["net.ipv6.conf.all.disable_ipv6"] = "1"
Copy link
Contributor

@yash97 yash97 Feb 6, 2026

Choose a reason for hiding this comment

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

why do we need to explicitly add these?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because VPC CNI currently use tuning CN plugin to disable ipv6. This is just keeping that feature

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i wonder if i need to move this lower and override any tuning configs


Example:
```
TUNING_SYSCTLS='{"net.core.somaxconn":"1024","net.ipv4.tcp_max_syn_backlog":"2048"}'
Copy link
Contributor

Choose a reason for hiding this comment

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

TOL does user have to provide value through env var? what will be experience if we had config map?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This wasn't completely sure about. I was thinking env var however config map could work too however I didn't want to add a whole new config map just for this because it seems over kill

@GnatorX GnatorX requested a review from yash97 February 9, 2026 21:48
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.

3 participants