kubernetes-the-hard-way/docs/14-cleanup.md

22 lines
431 B
Markdown
Raw Normal View History

2017-08-29 00:19:25 +03:00
# Cleaning Up
2020-06-20 17:08:36 +03:00
In this lab you will delete the resources created during this tutorial.
2017-08-29 00:19:25 +03:00
2020-06-20 17:08:36 +03:00
## Virtual Machines
2017-08-29 00:19:25 +03:00
2020-06-20 17:08:36 +03:00
Stop the 7 VM created for this tutorial:
2017-08-29 00:19:25 +03:00
```bash
2020-06-20 17:08:36 +03:00
sudo shutdown -h now
2017-08-29 00:19:25 +03:00
```
2020-06-20 17:08:36 +03:00
Delete all the VMs via the Proxmox WebUI or the Proxmox CLI (on the hypervisor):
2017-08-29 00:19:25 +03:00
```bash
2020-06-20 17:08:36 +03:00
sudo qm destroy <vmid> --purge
2017-08-29 00:19:25 +03:00
```
2020-06-20 17:08:36 +03:00
## Networking
2017-08-29 00:19:25 +03:00
2020-06-20 17:08:36 +03:00
Delete the private Kubernetes network (`vmbr8`) via the Proxmox WebUI (to avoid fatal misconfiguration).