Giter VIP home page Giter VIP logo

configurek8s's Introduction

#Ansible project to setup a k8s cluster# This ansible program is used to configure a kubernetes cluster (01 master and two worker nodes). If you want more node, edit inventory file and add the new node (fqdn) in the appropriate group. Container Runtime used: containerd Stable OS: Ubuntu Server 20.04+ Ansible version: Engine 2.7+

If you want to modify the default kubernetes version (1.23.0-00), edit the file roles/k8s-cluster/vars/main.yml and mention it

=> To launch

  1. In first: Ensure root user had an knowm password Ensure ssh installed and configured to allow root user connection Ensure fqdn for node is well mentioned in the inventory file
  2. Launch file called setupusers.sh which must have 02 parameters (Username and password that will be created on master and worker node) Example: ./setupusers.sh username password ./setupusers.sh automation automation
  3. Finally, launch the ansible playbook callrole.yml in the appropriate directory Example: ansible-playbook callrole.yml

By Vianney NOUTENIJEU

configurek8s's People

Contributors

mcreseau avatar

Watchers

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