Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 898 Bytes

14-cleanup.md

File metadata and controls

47 lines (32 loc) · 898 Bytes

Cleaning Up

In this lab you will delete the compute resources created during this tutorial.

Compute Instances

Delete the controller and worker compute instances:

yc compute instance delete \
  controller-0 controller-1 controller-2 \
  worker-0 worker-1 worker-2

Networking

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