Coder Social home page Coder Social logo

nochristrequired / ansible-kubeadm-contiv Goto Github PK

View Code? Open in Web Editor NEW

This project forked from magic7s/ansible-kubeadm-contiv

0.0 2.0 0.0 37 KB

Ansible script to provision kubernetes cluster with contiv network CNI, also deploys sample applications with micro segmentation and istio service mesh.

License: MIT License

ansible-kubeadm-contiv's Introduction

Basic Install of Kubernetes and Contiv Networking

standalone kubeadm deployment

Orignal code credit goes to https://github.com/ben-st/ansible-kubeadm. I used it as a base and changed the CNI to Contiv (by Cisco).

  • Requires Ansible 2.4 or newer
  • Expects 3 ubuntu nodes (at least 16.04)
  • Expects passwordless sudo

These playbooks deploy a very basic installation of kubeadm. To use them, first edit the "inventory" file to contain the hostnames of the machines on which you want kubeadm deployed, and edit the group_vars/ file to set any kubeadm configuration parameters you need.

Then run the playbook, like this:

`ansible-playbook -i inventory site.yml`

This is a very simple playbook. It deploys the following:

  1. Installs basic components (docker, kubeadm, contiv)
  2. Basic kubernetes cluster using kubeadm (3 nodes is recommended)
  3. Contiv CNI in vxlan mode
  4. Adds three networks (see group_vars/all)
  5. Adds two sample applications (guestbook and wordpress)

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.