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

Deprecate serverless cluster resource #122

Open
charconstpointer opened this issue Feb 15, 2024 · 5 comments
Open

Deprecate serverless cluster resource #122

charconstpointer opened this issue Feb 15, 2024 · 5 comments

Comments

@charconstpointer
Copy link
Contributor

With the recent change to ScyllaDB Cloud offering, serverless clusters are no longer possible to create, hence we should consider deprecating Serverless Cluster resource.

@rjeczalik
Copy link
Member

@charconstpointer What should be used instead of serverless resource?

I don't see anything about free trial (or generalised - deals api) in the API https://cloud.docs.scylladb.com/stable/api.html#tag/Cluster/operation/createCluster.

While deprecating a resource we must provide what to use instead.

@rjeczalik
Copy link
Member

I added a deprecation message in this commit: 467b384

@charconstpointer
Copy link
Contributor Author

The cluster resource we already support is enough to replace what the serverless resource was offering to our users; i.e. primary purpose for serverless was to use it for free-tier clusters, to replicate this use case using cluster resource user needs to provide combination of:

  • FreeTier(boolean)
  • InstanceType(int)
  • PU(processing units[int])
    We should recognize that this is not a great UX, user cannot just provide freeTier = true and assume their request will succeed.

@rjeczalik
Copy link
Member

user needs to provide combination of

How and where?

@charconstpointer
Copy link
Contributor Author

user needs to provide combination of

How and where?

Right, perhaps I should have been more specific, I was mostly referencing ScyllaDB Cloud Public API spec and cluster creation endpoints. Right now cluster resources does not support these properties, so our users won't be able to create free-tier cluster resources, in order to do that we could expose new properties for cluster resource:

  • FreeTier(boolean)
  • InstanceType(int/string) <= already taken care of by node_type
  • PU(processing units[int])

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

No branches or pull requests

2 participants