Deploy Kubernetes Cluster
This section describes the process of deploying a Kubernetes cluster via AstroPulse platform on your AWS or GCP account.
Prerequisitesâ
Before you begin, ensure you have the following:
Requirement | Description |
---|---|
â Platform Privileges | Admin or admin privileges on the AstroPulse platform Contact the AstroPulse team if you need access |
đ Cloud Account | An active AWS or GCP account |
đ ī¸ kubectl | kubectl installed on your local machine |
đ astroctl | astroctl downloaded and configured for cluster management |
These prerequisites will enable you to successfully deploy and manage your Kubernetes cluster through the AstroPulse platform.
đ Deploy Kubernetes Clusterâ
To deploy a Kubernetes cluster, follow these steps:
-
Create a YAML file specifying the cluster configuration
-
Run the following command:
astroctl clusters apply -f <cluster-config.yaml>
Where
<cluster-config.yaml>
is the path to your configuration file.
đ Find YAML templates in the provisioner templates repository.
âšī¸ For detailed configuration options, see cluster configuration.
Supported Provisionersâ
AstroPulse supports various cloud providers:
- đˇ AWS Self-Hosted (Vanilla) K8s Cluster Provisioner
- đļ GCP Self-Hosted (Vanilla) K8s Cluster Provisioner
- đˇ AWS EKS K8s Cluster Provisioner
đ KubeConfigâ
To export the kubeconfig file for a Kubernetes cluster, use the following command:
astroctl clusters set-context <cluster-name>
đ List Kubernetes Clusterâ
To list all Kubernetes clusters, use the following command:
astroctl clusters get
đī¸ Delete Kubernetes Clusterâ
To delete a Kubernetes cluster, use the following command:
astroctl clusters delete <cluster-name>
Where <cluster-name>
is the name of the cluster to delete.
đ Update Kubernetes Clusterâ
TBD
Updating a cluster is coming soon.