Giter Club home page Giter Club logo

kubernetescluster's Introduction

Ansible Collection - cankush625.kubernetescluster

This collection contains the roles for configuring the Kubernetes master and slave nodes. Currently, it supports Amazon Linux 2, Redhat Enterprise Linux and Ubuntu.

Roles

kube_master

This is the role for configuring Kubernetes master node. You can find more information about it in the roles/kube_master/README.md file.

kube_slave

This is the role for configuring Kubernetes slave node. You can find more information about it in the roles/kube_slave/README.md file.

Installation and Usage

Download and install this collection using following command

ansible-galaxy collection install cankush625.kubernetescluster

Example playbook for using kube_master role from this collection

- hosts: kube_master
  collections:
    - cankush625.kubernetescluster

  roles:
    - role: kube_master
      pod_network_cidr: 10.240.0.0/16
      owner: ec2-user
      group: ec2-user

Example playbook for using kube_slave role from this collection

- hosts: kube_slave
  collections:
    - cankush625.kubernetescluster

  roles:
    - role: kube_slave
      kube_join_command: "kubeadm join <YOUR_KUBE_MASTER_NODE_PRIVATE_IP>:6443 --token <YOUR_TOKEN>     --discovery-token-ca-cert-hash <YOUR_DISCOVERY_TOKEN_CERT_HASH> "

Tested on

This role is tested on following OS distributions:

  • Amazon Linux 2
  • RedHat Enterprise Linux v8
  • Ubuntu Server 20.04 LTS

Contribution

If you find any bug or want to do improvement in this collection, then find the source code for this collection here. Create an issue or open up a pull request and I will consider merging it, if it does what this collection is intended for.

License

MIT

Author

Ankush Chavan

kubernetescluster's People

Contributors

cankush625 avatar

Stargazers

 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.