k3s-ansible
repository, modify the playbook inventory, and run it:inventory/hosts.ini
, and replace the examples with the IPs or hostnames of your master and nodes. This file describes the K3s masters and nodes to Ansible as it installs K3s.inventory/group_vars/all.yml
file and change the ansible_user
to pirate
.ansible-playbook site.yml -i inventory/hosts.ini
and wait.kubectl
configuration from the master:kubectl
installed on your computer (you can install it following these directions).KUBECONFIG
environment variable, and start running kubectl
commands: