GithubHelp home page GithubHelp logo

jljlpch / flannel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flannel-io/flannel

0.0 1.0 0.0 38.13 MB

flannel is a network fabric for containers, designed for Kubernetes

License: Apache License 2.0

Makefile 3.29% Go 91.04% C 5.53% Shell 0.13%

flannel's Introduction

flannel

flannel Logo

Build Status

flannel is a virtual network that gives a subnet to each host for use with container runtimes.

Platforms like Kubernetes assume that each container (pod) has a unique, routable IP inside the cluster. The advantage of this model is that it reduces the complexity of doing port mapping.

Theory of Operation

flannel runs an agent, flanneld, on each host and is responsible for allocating a subnet lease out of a preconfigured address space. flannel uses etcd to store the network configuration, allocated subnets, and auxiliary data (such as host's IP). The forwarding of packets is achieved using one of several strategies that are known as backends. The simplest backend is udp and uses a TUN device to encapsulate every IP fragment in a UDP packet, forming an overlay network. The following diagram demonstrates the path a packet takes as it traverses the overlay network:

Life of a packet

Documenation

flannel's People

Contributors

aaronlevy avatar adiclepcea avatar alban avatar andrewrynhard avatar anguslees avatar bamarni avatar bcwaldon avatar dcbw avatar eyakubovich avatar heyitsanthony avatar inthecloud247 avatar jonboulle avatar josselin-c avatar kdomanski avatar kelseyhightower avatar linvjw avatar lk4d4 avatar luxas avatar meghanschofield avatar mikedanese avatar mohdahmad avatar monder avatar pgburt avatar philips avatar robszumski avatar salamaniibm avatar steveej avatar titanous avatar tomdee avatar vaijab avatar

Watchers

 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.