Code Monkey home page Code Monkey logo

shiba's Introduction

Shiba(柴)

Shiba is a minimalist Kubernetes network plugin, as a replacement for flannel, Calico, etc.

It provides the basic networking capabilities for Kubernetes, including:

  • Pod address assignment (with the help of host-local CNI plugin)
  • Overlay network (via Linux built-in IP tunnels) with dual-stack support (!)

It doesn't have advanced features like:

  • Network policies
  • Floating IPs
  • BGP routing (who likes it?)

In a stable cluster, the functionality completely relies on the bundled CNI plugins and native Linux modules; Shiba daemon only works when a node has joined or left the cluster, or the node itself has rebooted.

Thus, the architecture is very simple, lightweight and friendly to debugging.

Prerequisites

At the current stage, Shiba has the following requirements and limitations:

  • The cluster must be configured with IPv6 support.
  • Each node must have a routable IPv6 address as its InternalIP for tunneling.
  • Some settings (like NAT) are hardcoded.
  • Only Kubernetes 1.22.0+ & Linux kernels 4.19+ are tested and supported.

Installation

  1. Make sure it's a new cluster, or the previous network plugin has been completely purged.
  2. Assign an IPv6 InternalIP to each node if not already, by adding a --node-ip parameter to kubelet.
  3. If the cluster is NOT set up with kubeadm, fill in the SHIBA_CLUSTERPODCIDRS env in installation.yaml.
  4. Run kubectl apply -f installation.yaml and enjoy.

shiba's People

Contributors

moycat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.