Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.
/ leeloo Public archive

A bunch of playbooks for installing k3s with multipass

Notifications You must be signed in to change notification settings

kompiz/leeloo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A bunch of playbooks to make Multipass and k3s life easier

(Or: a poor man's vagrant.)

UPDATE: Don't use this - it's quite simply not the proper way of doing things (and in it's current state it's also broken). Either go with LXD instead or Vagrant. Only reason it remains up is for reference to some things in Ansible.

$ ansible-playbook create-master.yml -K -e nodes=1 creates one node, k3s-master-123. create-worker.yml creates a worker node.

$ ansible-playbook create-inv.yml creates an inventory for ansible, consisting of the hosts in multipass.

In roles/createvm/files/cloud-init.yml you might want to make some changes - put your username and public ssh key there.

Prerequisites:

  • Multipass is installed
  • K3sup is installed

Notes: v1.1 and before was using VirtualBox as hypervisor, but I couldn't get k3s nodes to talk to the master. If you would like to try, just uncomment the tasks in roles/createvm/tasks/main.yml.

About

A bunch of playbooks for installing k3s with multipass

Topics

Resources

Stars

Watchers

Forks