MemoryDB Operations
Available Options
Add reader
Remove reader
Add shard
Remove shard
Add Reader
odin operate component --name [YOUR_COMPONENT_NAME] --service [YOUR_SERVICE_NAME]
--operation add_reader --env [YOUR_ENV_NAME] --options='{}'
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
Remove Reader
odin operate component --name [YOUR_COMPONENT_NAME] --service [YOUR_SERVICE_NAME]
--operation remove_reader --env [YOUR_ENV_NAME] --options='{}'
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
Add Shard
odin operate component --name [YOUR_COMPONENT_NAME] --service [YOUR_SERVICE_NAME]
--operation add_shard --env [YOUR_ENV_NAME] --options='{}'
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
Remove Shard
odin operate component --name [YOUR_COMPONENT_NAME] --service [YOUR_SERVICE_NAME]
--operation remove_shard --env [YOUR_ENV_NAME] --options='{}'
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