Start managing Kubernetes compute from Astra

Contributors netapp-bcammett ebarcott 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

Start managing Kubernetes compute

After you log in to Astra, your first step is to start managing compute.

What you’ll need
  • 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.

Steps
  1. On the Dashboard, click Manage Kubernetes compute.

    Follow the prompts to add the compute.

  2. Provider: Select your cloud provider and then provide the required credentials.

    1. 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.

    2. 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.

  3. 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.

  4. Storage: Select the storage class that you’d like Kubernetes applications deployed to this compute to use by default.

  5. Review & Approve: Review the configuration details and click Add compute.

    screenshot compute approve

The following video shows each of these steps for a GKE cluster.

Result

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.