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

bridge: add missing cniVersion in README example #428

Merged
merged 1 commit into from
Jan 8, 2020
Merged

bridge: add missing cniVersion in README example #428

merged 1 commit into from
Jan 8, 2020

Conversation

weibeld
Copy link
Contributor

@weibeld weibeld commented Dec 18, 2019

The cniVersion field was missing in the network configuration of one of the examples of the 'bridge' plugin. Also fixed the indentation.

Omitting cniVersion results in the following kubelet error:

Dec 18 10:58:30 my-k8s-master kubelet[14847]: W1218 10:58:30.629078   14847 cni.go:202] Error validating CNI config list {"cniVersion":"", ... }: [plugin bridge does not support config version ""]

Signed-off-by: Daniel Weibel <danielmweibel@gmail.com>
*Note:* To configure uplink for L2 network you need to allow the vlan on the uplink interface by using the following command ``` bridge vlan add vid VLAN_ID dev DEV```.
Copy link
Member

Choose a reason for hiding this comment

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

/lgtm except a question, what's the change of this line?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The original file had no newline at the end of the line. My editor automatically added one.

Copy link
Member

Choose a reason for hiding this comment

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

OK, sounds good

@bboreham bboreham merged commit e5fdd44 into containernetworking:master Jan 8, 2020
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.

4 participants