Work through the following steps to list database clusters with the
GDC console or the Distributed Cloud CLI:

### Console


From the main menu, choose **Database Service**. The console takes you
to a filterable list of your database clusters.

### gdcloud

1. Before using Distributed Cloud CLI,
   [install and initialize](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/resources/gdcloud-install.md.txt) it.
   Then, [authenticate](https://docs.cloud.google.com/distributed-cloud/hosted/docs/latest/gdcag/resources/gdcloud-auth.md.txt) with your
   organization.

2. Run the following command to list database clusters:

   ```bash
   gdcloud database clusters list
   ```

   The output lists the namespace, name, database version, primary DNS
   endpoint, and status of each database cluster.

### API

```bash
kubectl get DBCluster.postgresql.dbadmin.gdc.goog -n USER_PROJECT
```

Replace the following variables:

- `USER_PROJECT`. the name of the user project where the database cluster was created.