GithubHelp home page GithubHelp logo

kubernetesrepo's Introduction

Setup K8s Cluster.

Prerequisite

  1. Three ubuntu servers with atleast 2vcpu's core on them.
  2. Ubuntu 16.04 TLS

Steps

  1. Login into all three servers and download the install_all.sh script.

  2. Run it using bash install_all.sh

    • 2.a The script will setup docker repository and will install docker-ce packages.
    • 2.b The script will setup kubernetes repository and will install required kubernetes packages.
  3. Download the install_master.sh on the master node and execute the same using bash install_master.sh

    • 3.a The script will initilize the cluster with default pod network CIDR.
    • 3.b The script will create the login access for admin user to login from the master.
    • 3.c The script will also apply flannel CNI for overlay network connectivity between the cluster nodes.
    • 3.d Finally the kubelet service will be restarted.
    • 3.e The final command will print the command to add the worker nodes in the cluster.
  4. Copy the last command output and run the exact command on the worker nodes to get them joined into the cluster.

  5. Once the command is executed, verify the cluster state using kubectl get nodes on the master.

kubernetesrepo's People

Contributors

vsaini44 avatar vickybulti 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.