bash-cni-plugin's People
Forkers
resouer zachovich shenghuofei zonesan ogre0403 nehaseth danielqujun ktsakalozos kevin-wr rpyendluri marciopocebon svanellewee wz30 0xack13 hamchans ghulevishal prm239 inspiredtiling spurin elevran georgexiang 00mjk andrentfs loverhythm1990 haozhangami yang-xiaofeng1101 4bdulwadood egarciambash-cni-plugin's Issues
Nodes not ready after configuring network files
Hi Siarhei,
Thanks for you excellent tutorial! It is very detailed and insightful. I currently participate in a research project which is do a similar thing as you did in the tutorial but with two modifications: one is to do all the network configuration (VETH and VXLAN) using VPP, and the other is to provide only connection between selected containers/pods (to create a specific network topology). I'm following your tutorial to get myself familiarize with how the CNI is working. But there's a issue I can't figure out as shown below.
After configuring the files under directory /etc/cni/net.d/ and /opt/cni/bin, the command 'kubectl get node' still show the nodes are not ready (1 master and 2 worker nodes in my case, all of them not ready). So I can't deploy pods on them. Things I've checked:
- kubectl version
Client Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.2", GitCommit:"faecb196815e248d3ecfb03c680a4507229c2a56", GitTreeState:"clean", BuildDate:"2021-01-13T13:28:09Z", GoVersion:"go1.15.5", Compi ler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.4", GitCommit:"e87da0bd6e03ec3fea7933c4b5263d151aafd07c", GitTreeState:"clean", BuildDate:"2021-02-18T16:03:00Z", GoVersion:"go1.15.8", Compi ler:"gc", Platform:"linux/amd64"}
This is the k8s version I use.
- kubectl describe nodes master
In "Conditions" part, it says "runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:dock
er: network plugin is not ready: cni config uninitialized". But I don't know how to initialize the cni config. It's not mentioned in your tutorial.
- The CNI executable is indeed running. I can see logs in /var/log/bash-cni-plugin.log. The outputs are repeating two lines "CNI command: VERSION" and "stdin: {"cniVersion":"0.4.0"}". I don't know why the stdin is {"cniVersion":"0.4.0"}. 0.4.0 is not in the cniVersion I specified in file /etc/cni/net.d/10-bash-cni-plugin.conf.
I've checked your tutorial for multiple times but still don't know what the problem is. Could you help me solving this issue? Thanks a lot!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.