- Enable the Anthos API in the Google Cloud console.
- Configure an Anthos managed GKE cluster by selecting the auto-pilot option in the GKE configuration.
- Wait for the cluster creation to complete and verify the cluster status in the notifications.
- Register the created GKE cluster under Anthos managed clusters.
- Update the kubeconfig in the Cloud Shell using the command: gcloud container clusters get-credentials autopilot-cluster-1 --region us-central1.
- Create a namespace for HarperDB using the command: kubectl create ns harperdb.
- Check for a publicly available Helm chart for HarperDB using the command: helm search hub harperdb.
- If no chart is available, use a local minimal Helm chart for HarperDB.
- Install the Helm release on the Anthos managed GKE cluster using the command: helm install harperdb . -n harperdb.
- Check the deployment spec to view the resource requests and limits set by the autopilot cluster.
- Verify the pod status using the command: kubectl get po -n harperdb.
- Test the HarperDB API by retrieving the service IP and sending an API call using curl.
- Clean up the environment by deleting the helm chart directory, unregistering the cluster from the Anthos console, deleting the cluster from the GKE console, and disabling the Anthos API using the command: gcloud services disable anthos.googleapis.com.