Giter Club home page Giter Club logo

bash-cni-plugin's People

Contributors

s-matyukevich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bash-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:

  1. 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.

  1. 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.

  1. 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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.