Skip to content

[CLOUDGA-28234] Add backup replication target support in edit cluster#312

Merged
pranbansal02 merged 2 commits intomainfrom
CLOUDGA-28234
Aug 29, 2025
Merged

[CLOUDGA-28234] Add backup replication target support in edit cluster#312
pranbansal02 merged 2 commits intomainfrom
CLOUDGA-28234

Conversation

@pranbansal02
Copy link
Copy Markdown
Contributor

Summary

[CLOUDGA-28234] Add backup replication target support in edit cluster

Testing

Help (Without feature flag enabled):

$ ./ybm cluster update --help
Update a cluster

Usage:
  ybm cluster update [flags]

Flags:
      --cloud-provider string     [OPTIONAL] The cloud provider where database needs to be deployed. AWS, AZURE or GCP.
      --cluster-name string       [REQUIRED] Name of the cluster.
      --cluster-tier string       [OPTIONAL] The tier of the cluster. Sandbox or Dedicated.
      --cluster-type string       [OPTIONAL] Cluster replication type. SYNCHRONOUS or GEO_PARTITIONED.
      --database-version string   [OPTIONAL] The database version of the cluster. Production, Innovation, Preview, or 'Early Access'.
      --fault-tolerance string    [OPTIONAL] Fault tolerance of the cluster. The possible values are NONE, NODE, ZONE, or REGION. Default NONE.
  -h, --help                      help for update
      --new-name string           [OPTIONAL] The new name to be given to the cluster.
      --region-info stringArray   Region information for the cluster, provided as key-value pairs. Arguments are region=<region-name>,num-nodes=<number-of-nodes>,vpc=<vpc-name>,num-cores=<num-cores>,disk-size-gb=<disk-size-gb>,disk-iops=<disk-iops> (AWS only)

Help (With feature flag enabled):

$ ./ybm cluster update --help
Update a cluster

Usage:
  ybm cluster update [flags]

Flags:
      --cloud-provider string     [OPTIONAL] The cloud provider where database needs to be deployed. AWS, AZURE or GCP.
      --cluster-name string       [REQUIRED] Name of the cluster.
      --cluster-tier string       [OPTIONAL] The tier of the cluster. Sandbox or Dedicated.
      --cluster-type string       [OPTIONAL] Cluster replication type. SYNCHRONOUS or GEO_PARTITIONED.
      --database-version string   [OPTIONAL] The database version of the cluster. Production, Innovation, Preview, or 'Early Access'.
      --fault-tolerance string    [OPTIONAL] Fault tolerance of the cluster. The possible values are NONE, NODE, ZONE, or REGION. Default NONE.
  -h, --help                      help for update
      --new-name string           [OPTIONAL] The new name to be given to the cluster.
      --region-info stringArray   Region information for the cluster, provided as key-value pairs. Arguments are region=<region-name>,num-nodes=<number-of-nodes>,vpc=<vpc-name>,num-cores=<num-cores>,disk-size-gb=<disk-size-gb>,disk-iops=<disk-iops> (AWS only),backup-replication-gcp-target=<gcp-target>. region, num-nodes, num-cores, disk-size-gb are required. Specify one --region-info flag for each region in the cluster.

Documentation

image

@pranbansal02 pranbansal02 requested a review from a team as a code owner August 22, 2025 15:00
Copy link
Copy Markdown
Contributor

@Siddarth-Baldwa Siddarth-Baldwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nit. Rest Lgtm

Comment thread cmd/cluster/update_cluster.go Outdated
@pranbansal02 pranbansal02 merged commit aa2e4d1 into main Aug 29, 2025
1 check passed
@pranbansal02 pranbansal02 deleted the CLOUDGA-28234 branch August 29, 2025 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants