kubernetes-the-hard-way-on-lxd

This tutorial is based on Kelsey's tutorial to deploy Kubernetes 1.18.0 the hard way, but using LXC containers in a single host.

View on GitHub

Cleaning Up

In this lab you will delete all the compute resources created during this tutorial. This single command will delete all containers, networks and profiles in your server.

Deleting all resources

Please be sure you want to delete everything berofe executing this script…

{
lxc stop --all 
lxc delete controller-0 controller-1 controller-2 worker-0 worker-1 worker-2 haproxy
lxc profile delete kube-profile
lxc network delete kube0
lxc network delete kube1
}

You can also go to the folder where you executed all the commands and delete all the configuration files, and downloaded files for the labs.

Have fun!