Manage Serverless Clusters on StreamNative Cloud
- Ursa Engine is currently not available for Serverless clusters.
- Serverless clusters are currently only available on Google Cloud. More cloud providers will be supported in the future.
Create a cluster
You can follow the steps in Create a Serverless Instance to create a Serverless instance and its first cluster in it.
You can follow the steps in Create a Serverless Instance to create a Serverless instance and its first cluster in it.
Creating a serverless cluster is straightforward. You just need to select a region and define the cluster in the Terraform configuration file.
organization
: The organization ID.display_name
: The display name of the cluster. Replace<your-cluster-name>
with the actual name.instance_name
: The name of the instance where the cluster is created.location
: The location of the cluster. In this example, it isus-central1
.
See PulsarCluster for more information.
View cluster details
Navigate to the Clusters Dashboard page.
- On the Dashboard tab, you can view some metrics about the cluster, including the number of topics, subscriptions, consumers, producers, throughput, storage size, and backlog size.
- On the Details tab, you can view the details about the cluster, including the cluster name, location, availability mode, cloud provider, cluster type, service URLs, the features enabled on the cluster, and your Pulsar, BookKeeper, and ZooKeeper versions.
Navigate to the Clusters Dashboard page.
- On the Dashboard tab, you can view some metrics about the cluster, including the number of topics, subscriptions, consumers, producers, throughput, storage size, and backlog size.
- On the Details tab, you can view the details about the cluster, including the cluster name, location, availability mode, cloud provider, cluster type, service URLs, the features enabled on the cluster, and your Pulsar, BookKeeper, and ZooKeeper versions.
To list all the clusters available for an organization, run the following command:
If you want to get more details about a cluster, you can run the following command:
If you want to get more details about a cluster, you can define a data source in the Terraform configuration file.
You can checkout PulsarCluster for more information.
Update a cluster
Serverless clusters are fully autonomous and automatically scaled. You don’t need to manually update them.
Delete a cluster
You cannot delete a cluster if there are resources associated with the cluster.
-
Navigate to the Clusters page.
-
Click the ellipsis at the top right corner of the cluster card that you want to delete, and then click Delete.
-
In the Are you sure you want to delete this? dialog, enter the cluster name and then click Confirm.
-
Navigate to the Clusters page.
-
Click the ellipsis at the top right corner of the cluster card that you want to delete, and then click Delete.
-
In the Are you sure you want to delete this? dialog, enter the cluster name and then click Confirm.
There are two ways to delete a cluster.
-
Delete the cluster by the cluster name.
-
Delete the cluster by the cluster manifest file
cluster.yaml
.
Remove the cluster resource from the Terraform configuration file and run terraform apply
to delete the cluster.