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

Allow cni runtime capabilities to be configuratble from CNIConfiguration #349

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jingkaihe
Copy link

@jingkaihe jingkaihe commented Jul 30, 2021

Introduce CapabilityArgs into the CNIConfiguration to allow CNI runtime capabilities to be
configurable from the firecracker-go-sdk.

Here are a few useful use cases: https://github.com/containernetworking/cni/blob/master/CONVENTIONS.md#well-known-capabilities (in my specific use case it's the portMappings).

Signed-off-by: Jingkai He jingkai@hey.com

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

In this change we add CapabilityArgs into the CNIConfiguration to allow CNI runtime capabilities to be
configurable from the firecracker-go-sdk.

Signed-off-by: Jingkai He <jingkai@hey.com>
- 'go get github.com/awslabs/tc-redirect-tap/cmd/tc-redirect-tap'
# Install tc-redirect-tap and portmap
- go get github.com/awslabs/tc-redirect-tap/cmd/tc-redirect-tap
- go get github.com/containernetworking/plugins/plugins/meta/portmap
Copy link
Author

Choose a reason for hiding this comment

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

added portmap due to buildkite complained about

failed to find plugin "portmap" in path [/opt/cni/bin /tmp/buildkite_build_1885_testdata/bin]

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.

None yet

1 participant