GithubHelp home page GithubHelp logo

mrsteve81 / create_k3s_cluster_playbook_generator_with_ansible_roles Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nic0michael/create_k3s_cluster_playbook_generator_with_ansible_roles

0.0 0.0 0.0 61 KB

Jinja 100.00%

create_k3s_cluster_playbook_generator_with_ansible_roles's Introduction

The instructions for using this project can be found here
http://rino.kozow.com/devops/posts/create-k3s-cluster-ansible-playbook/
On this page, we will provide a link to our YouTube video with instructions for creating this on your Proxmox Homelab

The Video showing how to do this
https://youtu.be/ZD6X-lFsGiw

We provide you with two options:

  1. Run the playbooks using commands from the terminal and values in the Inventory file and pass them as variables
  2. Using Semaphore to automate this process from the Browser Instructions are provided for both options

1. Running the create_k3s_primary_master_node.yml Playbook

If you want to run the create_k3s_primary_master_node.yml from the terminal
Run this command

ansible-playbook playbooks/create_primary_master_node.yml \
  -i inventories/production/hosts.ini \
  -e "node_name=tiger.loseyourip.com" \
  -e "master_node_ip_address=10.154.2.91"

1.1 This command does the following:

ansible-playbook: Invokes Ansible to run a playbook.
playbooks/create_primary_master_node.yml: Specifies the path to the playbook you want to execute. -i inventories/production/hosts.ini: Sets the inventory file where Ansible will find the hosts to execute the playbook against.
-e "node_name=tiger.loseyourip.com": Passes the node_name variable with the value tiger.loseyourip.com to the playbook.
-e "master_node_ip_address=10.154.2.91": Passes the master_node_ip_address variable with the value 10.154.2.91 to the playbook.

2. Running these Playbooks from Semaphore

Please refer to our readme.md file for more details on using Semaphore:
Click this link to read this document

3. The Node Servers for Cluster Deployment

Primary Master Node
tiger.loseyourip.com
10.154.2.91

Second Master Node
kudu.loseyourip.com
10.154.2.93 

Worker Node
leopard.loseyourip.com
10.154.2.95 	
  
Worker Node  
lion.loseyourip.com
10.154.2.97

Please refer to our Inventory file for more details
Click here to view Inventory File

create_k3s_cluster_playbook_generator_with_ansible_roles's People

Contributors

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