diff --git a/README.md b/README.md index 697fb38..2058f89 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,21 @@ Only tested on Ubuntu-24.04 wsl ```bash # Please install golang v1.22 or greater before starting +# and multipass, and ansible + +# Golang sudo apt install golang +# Ansible (Please double check installation process yourself if this is outdated) +sudo apt update +sudo apt install software-properties-common +sudo add-apt-repository --yes --update ppa:ansible/ansible +sudo apt install ansible + +# multipass (If you encounter authentication error, please follow step 6 in troubleshooting section +sudo snap install multipass + +# Run provisioning # Option 1: Using CLI tool (recommended) ./cli/build.sh # build CLI tool in project ./provision-cli provision # Run interactive provisioning in project root diff --git a/ansible/inventories/kubernetes.yml b/ansible/inventories/kubernetes.yml index 379937b..fb5e484 100644 --- a/ansible/inventories/kubernetes.yml +++ b/ansible/inventories/kubernetes.yml @@ -6,17 +6,17 @@ all: control_plane: hosts: controlplane: - ansible_host: 10.57.249.3 + ansible_host: 10.193.215.215 workers: hosts: node01: - ansible_host: 10.57.249.58 + ansible_host: 10.193.215.247 node02: - ansible_host: 10.57.249.184 + ansible_host: 10.193.215.126 node03: - ansible_host: 10.57.249.34 + ansible_host: 10.193.215.158 vars: ansible_user: ubuntu ansible_become: yes - ansible_ssh_private_key_file: /home/bl/.ssh/id_rsa_provisioning + ansible_ssh_private_key_file: /home/bxtal/.ssh/id_rsa_provisioning ansible_ssh_common_args: '-o StrictHostKeyChecking=no'