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 CLI
Before using Distributed Cloud CLI, install and initialize it. Then, authenticate with your organization.
Run the following command to list database clusters:
gdcloud database clusters listThe output lists the namespace, name, database version, primary DNS endpoint, and status of each database cluster.
API
kubectl get DBCluster.DBENGINE_NAME.dbadmin.gdc.goog -n USER_PROJECT
Replace the following variables:
DBENGINE_NAME, the name of the database engine. This is one ofalloydbomni,postgresql, ororacle.USER_PROJECT. the name of the user project where the database cluster was created.