According to the documentation when deleting a cluster the persistent disk will still exist(https://cloud.google.com/kubernetes-engine/docs/how-to/deleting-a-cluster). I wanna delete all the associate persistent disks when deleting cluster but I don't know the name/id of persistent disk. Cluster get API doesn't have any information about the disks and nodes.
resp, err := containerService.Projects.Zones.Clusters.Get(project, zone, cluster).Context(ctx).Do()
To get the node name run , then the disk name is the same as the node name. You can delete the disk after the cluster but you need to run kubectl get nodes before the deletion. Also to get the disk id, you can use gcloud command: gcloud compute disks describe --zone < ZONE> | grep "id" Follow this link for Google best practices on how to delete cluster disks:link