Start managing Kubernetes compute from Astra
Contributors Download PDF of this page
After you set up your environment, you’re ready to create a Kubernetes cluster and then add it to Astra.
Create a Kubernetes cluster
If you don’t have a cluster yet, create one that meets Astra requirements for Google Kubernetes Engine (GKE) or Astra requirements for Azure Kubernetes Service (AKS).
Start managing Kubernetes compute
After you log in to Astra, your first step is to start managing compute.
For GKE, you should have the service account key file for a service account that has the required permissions. Learn how to set up a service account.
For AKS, you should have the JSON file that contains the output from the Azure CLI when you created the service principal. Learn how to set up a service principal.
You’ll also need your Azure subscription ID, if you didn’t add it to the JSON file.
On the Dashboard, click Manage Kubernetes compute.
Follow the prompts to add the compute.
Provider: Select your cloud provider and then provide the required credentials.
Microsoft Azure: Provide Astra with details about your Azure service principal by uploading a JSON file or by pasting the contents of that JSON file from your clipboard.
The JSON file should contain the output from the Azure CLI when you created the service principal. It can also include your subscription ID so it’s automatically added to Astra. Otherwise, you need to manually enter the ID after providing the JSON.
Google Cloud Platform: Provide the service account key file either by uploading the file or by pasting the contents from your clipboard.
Astra uses the service account to discover compute running in Google Kubernetes Engine.
Compute: Select the compute that you’d like to add.
Pay careful attention to the Eligible tab. If a warning appears, hover over the warning to determine if there’s an issue with the compute. For example, it might identify that the cluster doesn’t have a worker node.
Storage: Select the storage class that you’d like Kubernetes applications deployed to this compute to use by default.
Review & Approve: Review the configuration details and click Add compute.
The following video shows each of these steps for a GKE cluster.
Astra creates an object store for application backups, creates an admin account on the cluster, and sets the default storage class that you specified. This process can take up to 5 minutes.