Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.12 KB

14-cleanup.md

File metadata and controls

41 lines (30 loc) · 1.12 KB

Отчистка

В этой лабораторной вы удалите все созданные ресурсы, созданные в этом туториале.

Виртуальный машины

Удалите все виртуальные машины:

for instance in  controller-0 controller-1 controller-2 worker-0 worker-1 worker-2; do
  yc compute instance delete ${instance} --async;
done

Сеть

Удалите балансер и сетевые ресурсы:

{
  yc vpc security-group delete kubernetes-the-hard-way-allow-external
  yc vpc security-group delete kubernetes-the-hard-way-allow-internal
  yc vpc security-group delete kubernetes-the-hard-way-allow-balancer

  yc load-balancer target-group delete kubernetes
  yc load-balancer network-load-balancer delete kubernetes-lb
  
  yc vpc address delete kubernetes-the-hard-way 
  yc dns zone delete kubernetes
}

Удалите подсети и сеть kubernetes-the-hard-way:

{
  yc vpc subnet delete kubernetes
  yc vpc route-table delete kubernetes-route
  yc vpc network delete kubernetes-the-hard-way
}