Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure the gceZone's behavior matches the description in AlloyDBInstance #3369

Open
3 tasks done
maqiuyujoyce opened this issue Dec 12, 2024 · 1 comment
Open
3 tasks done
Labels
enhancement New feature or request

Comments

@maqiuyujoyce
Copy link
Collaborator

Checklist

  • I did not find a related open enhancement request.
  • I understand that enhancement requests filed in the GitHub repository are by default low priority.
  • If this request is time-sensitive, I have submitted a corresponding issue with GCP support.

Describe the feature or resource

According to the field description of gceZone in AlloyDB REST API: https://cloud.google.com/alloydb/docs/reference/rest/v1beta/projects.locations.clusters.instances

The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones 
This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent 
for a ZONAL instance, instance is created in a random zone with available capacity.

I tried to create a REGIONAL instance with gceZone specified and the request didn't throw an error: the instance was created successfully.

We should figure out the expected behavior/field description and improve the controller logic/doc accordingly.

Additional information

No response

Importance

No response

@maqiuyujoyce maqiuyujoyce added the enhancement New feature or request label Dec 12, 2024
@maqiuyujoyce
Copy link
Collaborator Author

@GauravJain21 do you have any suggestions about this API behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant