Giter Site home page Giter Site logo

vagrant-ha-kubernetes's Introduction

Vagrant: Build a highly available kubernetes cluster

Vagrant project to spin up a local highly available kubernetes cluster for development and testing purposes. See https://github.com/gadgieOps/ha-kubernetes.git for further information on the underlying ansible code.

Dependencies

Required roles:

  • gadgieOps.ha-kubernetes

Can be installed using:

ansible-galaxy install -r requirements.yml

Usage

  1. In the Vagrantfile
    • Set CONTROLLER_N to specify the number of control plane nodes to spin up
    • Set WORKER_N to specify the number of worker nodes to spin up
  2. Modify inventories/nodes.yml to match the quantities of nodes
    • It may be simpler to comment out any unrequired nodes
  3. Customize role vars in playbooks/provision-cluster.yml for further information
  4. Use 'vagrant up' to spin up the cluster
  5. Use 'vagrant halt' to turn off the cluster
  6. Use 'vagrant destroy' to destroy the cluster

Collaboration

Please feel free to raise issues and submit pull requests. I have been using this role along side Vagrant to spin up dev and test environments that are in line with my production environment. I am working on making this role more generic and accessible for other usecases.

Notes

Tested using:

  • Ubuntu 20.04
  • CentOS 7.9

License

MIT

Author Information

Authored by gadgieOps.

vagrant-ha-kubernetes's People

Contributors

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