Using Console
Using CLI
Using Python
list
method of the projects.zones.clusters
resource to retrieve the list of all the clusters in your GCP project. You can use the below code snippet to retrieve the list of all clusters:status
field of the cluster. If the status
field is set to ALPHA
, then it is an alpha cluster and needs to be remediated. You can use the below code snippet to iterate through each cluster and check its status:list
method of the projects.zones.clusters
resource. If the status of the alpha clusters has been changed to a non-alpha version, then the remediation has been successful.