forked from aws/amazon-vpc-cni-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
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
host port mapping change #4
Open
rawahars
wants to merge
8
commits into
dev
Choose a base branch
from
master
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Jun 2, 2023
-
[vpc-bridge] Support host port mapping for Windows (aws#93)
* windows: enhance vpc-bridge plugin to use HNS V2 APIs by default Presently, in the `vpc-bridge` plugin, we use HNS V1 APIs to create the HNS network and the HNS endpoint. Once the endpoint is created, we use either V1 or V2 APIs for attaching the endpoint to the container. Given that V2 is the way forward where Microsoft supports newer features, we are converting our plugins to be V2 first. In this commit, we make the following changes- - We use HNS V2 to create the network - We use HNS V2 to create the HNS endpoint After that, we will use either V1 or V2 to attach the endpoint to our container/namespace depending upon the runtime. * windows: add support for port mapping in vpc-bridge plugin Presently, the vpc-bridge plugin silently ignores any port mapping between container to host for the configured endpoint. As per the current CNI convention, plugins can request that the runtime insert this dynamic configuration by explicitly listing their capabilities in the network configuration. Dynamic information (i.e. data that a runtime fills out) should be placed in a runtimeConfig section. Reference: https://www.cni.dev/docs/conventions/#dynamic-plugin-specific-fields-capabilities--runtime-configuration `portMappings` is one such capability. This change adds the support for creating NAT port mappings between container and host ports as configured by the runtime.
Configuration menu - View commit details
-
Copy full SHA for 1d75c58 - Browse repository at this point
Copy the full SHA 1d75c58View commit details
Commits on Jun 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0b99afc - Browse repository at this point
Copy the full SHA 0b99afcView commit details
Commits on Jun 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 101a3e2 - Browse repository at this point
Copy the full SHA 101a3e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 710a43c - Browse repository at this point
Copy the full SHA 710a43cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32b5831 - Browse repository at this point
Copy the full SHA 32b5831View commit details -
Configuration menu - View commit details
-
Copy full SHA for a83b663 - Browse repository at this point
Copy the full SHA a83b663View commit details
Commits on Jun 20, 2023
-
windows: use Search instead of Domain for DNS settings
This is a bug fix in the `vpc-bridge` CNI plugin for Windows where we need to use `Search` parameter in `DNS` configuration for setting multiple domains used for short hostname lookups. Earlier we were using `Domain` which is a single string. This change fixes this issue.
Configuration menu - View commit details
-
Copy full SHA for 030ff29 - Browse repository at this point
Copy the full SHA 030ff29View commit details
Commits on Jul 13, 2023
-
Add call to vpc-cni-k8s-connector for EKS windows (aws#94)
1. CNI plugin depends on vpc-cni-k8s-connector executed in EKS Windows nodes. 2. Call is made to vpc-cni-k8s-connector with podname, pod namespace and path to pipe as input args. 3. CNI receives output over named pipe and vpc-cni-k8s-connector logs over stdout. 4. CNI plugin creates a named pipe, start listener and read pipe connections to receive output from vpc-cni-k8s-connector
Configuration menu - View commit details
-
Copy full SHA for c20156f - Browse repository at this point
Copy the full SHA c20156fView commit details
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.