In this lab you will delete the compute resources created during this tutorial.
Delete the controller and worker compute instances:
yc compute instance delete \
controller-0 controller-1 controller-2 \
worker-0 worker-1 worker-2
Delete the external load balancer network resources:
{
yc lb network-load-balancer delete kubernetes-the-hard-way --async
yc lb target-group delete kubernetes-target-group --async
}
Delete the kubernetes-the-hard-way
firewall rules:
yc vpc security-group delete kubernetes-the-hard-way --async
Delete the kubernetes-the-hard-way
network VPC:
{
yc vpc subnet delete kubernetes --async
yc vpc networks delete kubernetes-the-hard-way --async
}
Delete the kubernetes-the-hard-way
compute address:
yc vpc address delete kubernetes-the-hard-way --async