Review and modify the following parameters in file “ inventory/mycluster/group_vars/k8s_cluster/k8s-cluster.yml”. $ CONFIG_FILE=inventory/mycluster/hosts.yaml python3 contrib/inventory_builder/inventory.py the inventory file, set 3 control nodes and 2 worker nodes $ vi inventory/mycluster/hosts.yaml $ cp -rfp inventory/sample inventory/mycluster Verify the ansible version, run $ ansible -versionĬreate the hosts inventory, run below commands and don’t forget to replace IP address that suits to your deployment. $ sudo apt install git python3 python3-pip -y Run the following set of commands, $ sudo apt update Login to your Ubuntu 22.04 system and install ansible. Without any further delay, let’s deep dive into the installation steps, Step 1) Configure Kubespray Node Ansible Node: 1024 MB, 1CPU and 20 GB disk space.Worker Nodes: 1024 MB, 2 CPU, 20 GB free disk space.Master Nodes: 1500 MB RAM, 2 CPU and 20 GB free disk space.Minimum system requirements for kubespray Ansible Node (Kubespray Node): Minimal installed Ubuntu 22.04 LTS (192.168.1.240).In this guide, we are using the following lab, It supports a range of operating systems, including Ubuntu, CentOS, Rocky Linux and Red Hat Enterprise Linux, and it can deploy Kubernetes on a variety of platforms, including bare metal, public cloud, and private cloud.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |