View cluster information

Viewing high-level information about clusters in Memorystore for Redis Cluster is essential to obtain a comprehensive snapshot of the cluster's state, configuration, and connectivity.

The following are sample use cases for viewing summary information about clusters:

  • Retrieve connection endpoints: retrieve the discovery endpoint, which consists of an IP address and port number.
  • Verify custom configurations: view configuration parameters that a user applies to a cluster. For example, you can obtain the value that a user sets for the maxmemory-policy parameter.
  • Check information about nodes and shards: obtain information about the nodes and shards associated with a cluster. This includes the number of shards, the node type, and the number of replicas that each shard has.
  • Confirm data resiliency settings: verify active persistence modes for Redis Database (RDB) snapshots and Append-Only File (AOF) log files, as well as the status of whether a cluster is protected from accidental deletion.

View summary information about a cluster

You can view summary information about a cluster by using either the Google Cloud console or the gcloud CLI.

Console

  1. In the Google Cloud console, go to the Memorystore for Redis Cluster page.

    Memorystore for Redis Cluster

  2. Click the ID of a cluster about which you want to view summary information.

gcloud

To view summary information about a cluster, use the gcloud redis clusters describe command:

gcloud redis clusters describe CLUSTER_ID \
--region=REGION_ID

Make the following replacements:

  • CLUSTER_ID: the ID of the cluster about which you want to view summary information
  • REGION_ID: the region where the cluster is located

For example:

gcloud redis clusters describe my-cluster \
--region=us-central1