Git Product home page Git Product logo

kubernetes-the-hard-way-vagrant's Introduction

Kubernetes the hard way with vagrant

You can study kubernetes with vagrant. Credits go to the Kinvolk team because this repository is based on https://github.com/kinvolk/kubernetes-the-hard-way-vagrant .

Differences with the Kinvolk version atm

  • Uses containerd
  • Uses gVisor
  • The pod-cidr is the same as the tutorial ( 10.200.${i}.0/24 )

How to use this repository

  • Hit vagrant up to bring up the vms (1 load balancer node, 3 controllers nodes , 3 worker nodes)
  • Use the workspace directory to follow Kelsey Hightower's repository https://github.com/kelseyhightower/kubernetes-the-hard-way
  • A few things to care about is
    • gcloud commands won't work (of course). Skip everything related to gcloud or use an alternative command. Have a look at the scripts directory if you get stuck. They correspond with the chapters.
    • EXTERNAL_IP , KUBERNETES_PUBLIC_ADDRESS would be 10.240.0.40 (the load balancer's ip)
    • vagrant-scp would come in handy for scp commands
    • Careful about INTERNAL_IPs and POD_CIDR because you cannot fetch them with gcloud commands.
    • Be sure to add the [plugins.cri] config and stream_server_address setting to the containerd's config.toml. If you miss this, you won't be able to exec in to the container. Have a look at the script .
  • vagrant destroy -f when you finish and clean up the workspace .

All the scripts inside the scripts directory correspond to the commands and chapters mentioned in the tutorial. It uses alternative commands which correspond to gcloud commands. This has been tested with this version of the tutorial.

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.