Skip to content

metheu/k3s_ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple ansible playbook to lauch k3s cluster in vagrant

This playbook automatically creates a server k3s with --no-deploy trafeik and agents that bind automatically to the server

How to

  • Vagrant lauches the machines bridged to 'wlp1s0' network. You need to change the machines ip to your local subnet, then run vagrant up
  • In hosts.ini change the coresponding ip addresses.
  • Change k3s_server_ip in k3s_agent role to point to server ip
  • Then run the playbook with ansible-playbook deployK3sCluster.yml -i hosts.ini --key-file k3sKey

Currently supported platforms:

  • Systems running systemd

About

Ansible playbook to get you up and running with k3s. https://k3s.io/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published