Add NetworkPolicy feature to addon VPC-CNI using default allow policy#2304
Open
wcarlsen wants to merge 3 commits into
Open
Add NetworkPolicy feature to addon VPC-CNI using default allow policy#2304wcarlsen wants to merge 3 commits into
wcarlsen wants to merge 3 commits into
Conversation
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
rifisdfds
approved these changes
Apr 24, 2026
Contributor
Author
|
FYI we dont have any references of ports 8162 and 8163 in hellman pod specs nor services. So this should be good to go. |
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
Contributor
Author
|
I've managed to add testing of NetworkPolicy features and hopefully they show case the following:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes
Add NetworkPolicy feature to addon VPC-CNI using default allow policy.
We need to undestand and investigate this statement from the docs before going forward:
"The network policy feature uses port 8162 on the node for metrics by default. Also, the feature uses port 8163 for health probes. If you run another application on the nodes or inside pods that needs to use these ports, the app fails to run. From VPC CNI version v1.14.1 or later, you can change these ports."
See docs https://docs.aws.amazon.com/eks/latest/userguide/cni-network-policy-configure.html.
Tested using these policies and a deployment and service responding on port 8000 and simple debug pod with curl.
See results from test here
Issue ticket number and link
Checklist before requesting a review
test/integrationfolder to apply my changes in QA. Read the guide on adding environment variables in QAIs it a new release?
release:(major|minor|patch), following semantic versioning in this guide ornoreleaseif there is no changes to the Terraform code