Giter Site home page Giter Site logo

k8s-net-labs's Introduction

k8s-net-labs

Kubernetes networking labs for KubeCon EU 2020 talk

After cloning this repo, to follow along you either need to install:

Or have a working Vagrant + VirtualBox setup -- the Vagrantfile in this repo has the appropriate Docker+Footloose setup already in it.

Running Docker+Footloose natively is prefered for resource consumption reasons.


Once you are either SSH'd in to the Vagrant box (vagrant up && vagrant ssh) or have Docker+Footloose set up, you will probably need to become root to fully support Footloose (sudo -s, su -, or however you prefer). You need to be in the folder for this repo (mounted to /labs/ if you are in the Vagrant box).

Then to start the different environments, you can cd to the directory you want (flannel/ for k3s with Flannel or calico/ for k3s with Calico), then run ./bootstrap.sh (for the Flannel one) or ./bootstrap-calico.sh (for the Calico one) to start the k3s install.

Once the cluster is up, you can SSH in with either footloose ssh root@node0 (or node1, or node2) for the Flannel install or footloose -c footloose-calico.yaml ssh root@calico-node0 (or calico-node1, or calico-node2) for the Calico install.

For the Calico install, you bring up Calico with kubectl apply -f calico-k3s.yaml when on calico-node0.

k8s-net-labs's People

Contributors

korvus81 avatar

Watchers

James Cloos 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.