Skip to content

motilayo/Kubernetes-on-Multipass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes-on-Multipass

Ansible playbook for spinning up a Kubernetes cluster (HA or non-HA) on multipass ubuntu VMs

High level overview

  • Use ansible to create a number of multipass VMs
  • Check out multipass refence documentation for more details on commands used
  • Use kubeadm to orchestrate a kubernetes cluster on the VMs as control and worker nodes
  • Use kubectl to interact with the cluster

How it works

Prerequisites

Create a kubernetes cluster

  • How to create a kubernetes cluster

    1. run ansible-playbook create/playbook.yaml
  • How to upgrade a kubernetes cluster

    1. run ansible-playbook upgrade/playbook.yaml
  • How to delete the cluster

    1. run multipass stop --all to stop all the multipass VMs
    2. run multipass delete -all to delete all the multipass VMs. ❗ FYI: will DELETE all multipass VMs ❗
    3. run multipass purge to purge the VMs

About

kubernetes on multipass ubuntu VMs using ansible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages