K8s cluster deletion doesn't remove the DNS entries from Managed zone on GCE

1/7/2019

I ran following command to delete the cluster : kops delete cluster "clustername" --yes

Post deletion, I can still see DNS entries in managed zone (created using Cloud DNS service) on GCP. Is it a known issue ?

-- Sunny Goel
google-cloud-dns
google-compute-engine
kops
kubernetes

1 Answer

1/8/2019

The command line kops delete cluster "clustername" --yes only delete the cluster that's it.

According the the documentation and the output of the `kops delete cluster "clustername" it doesn't show any DNS entries or managed zone.

The type of resources that will be delete are :

  • Address.
  • Disk.
  • ForwardingRule.
  • Instance.
  • InstanceGroupManager.
  • InstanceTemplate.
  • Route.
  • TargetPool.
-- Alioua
Source: StackOverflow