Skip to content

megian/lab-kubeadm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lab-kubeadm

This is a kubeadm Kubernetes Cluster Lab wrapped in a Vagrant environment.

A friendly fork of rgl/rke2-vagrant. Thanks for all the prework!

Usage

Check libvirt documentation for installation.

Debian

Vagrant Debian:

sudo apt install vagrant

Arch

Vagrant Arch:

sudo pacman -S vagrant libvirt pkg-config dnsmasq

Arch for NFS:

sudo pacman -S nfs-utils

Install the required vagrant plugins:

sudo vagrant plugin install vagrant-hosts vagrant-libvirt

Launch the environment:

time vagrant up --no-destroy-on-error --no-tty [--provider=libvirt]

NB The controlplane VMs (e.g. cp1) are tainted to prevent them from executing non control-plane workloads. That kind of workload is executed in the worker nodes (e.g. w1).

Kubernetes API

Access the Kubernetes API at:

https://vip.kubeadm.lab:6443

K9s Dashboard (TODO)

The K9s console UI dashboard is also installed in the controlplane node. You can access it by running:

vagrant ssh cp1
sudo su -l
k9s

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages