MemoryDB Operations

Available Options

  1. Add reader

  2. Remove reader

  3. Add shard

  4. Remove shard

  1. Add Reader

odin operate component  --name [YOUR_COMPONENT_NAME] --service [YOUR_SERVICE_NAME]
--operation add_reader --env [YOUR_ENV_NAME] --options='{}'
Option
Type
Description

cluster_id

string

The unique identifier for the cluster

region

string

The Google Cloud region where the cluster is deployed (e.g., us-central1)

replica_count

number

The number of read replicas to add to the cluster

  1. Remove Reader

odin operate component  --name [YOUR_COMPONENT_NAME] --service [YOUR_SERVICE_NAME]
--operation remove_reader --env [YOUR_ENV_NAME] --options='{}'
Option
Type
Description

cluster_id

string

The unique identifier for the cluster

region

string

The Google Cloud region where the cluster is deployed (e.g., us-central1)

replica_count

number

The number of read replicas to add to the cluster

  1. Add Shard

odin operate component  --name [YOUR_COMPONENT_NAME] --service [YOUR_SERVICE_NAME]
--operation add_shard --env [YOUR_ENV_NAME] --options='{}'
Option
Type
Description

cluster_id

string

The unique identifier for the cluster

region

string

The Google Cloud region where the cluster is deployed (e.g., us-central1)

shardCount

number

The number of shards to add to the cluster

  1. Remove Shard

odin operate component  --name [YOUR_COMPONENT_NAME] --service [YOUR_SERVICE_NAME]
--operation remove_shard --env [YOUR_ENV_NAME] --options='{}'
Option
Type
Description

cluster_id

string

The unique identifier for the cluster

region

string

The Google Cloud region where the cluster is deployed (e.g., us-central1)

shardCount

number

The number of shards to add to the cluster

Last updated