Skip to main content

astroctl

Astro Platform CLI tool

Synopsis

AstroPulse Platform CLI — deploy and manage Kubernetes clusters and applications across AWS (EKS), GCP (GKE), Azure (AKS), and self-hosted environments.

Typical workflow:

# 1. Authenticate
astroctl auth login

# 2. Connect cloud provider (once per cluster; skip for registered clusters)
astroctl cloud aws connect --account-id 123456789012 --region us-east-1 --cluster-name prod
astroctl cloud gcp connect --project-id my-project --region us-central1 --cluster-name prod
astroctl cloud azure connect --subscription-id <id> --resource-group rg-prod --region eastus --cluster-name prod

# 3. Create a cluster (or register an existing one)
astroctl infra k8s apply -f cluster.yaml # provision a new cluster
astroctl infra k8s register --cluster-name prod # register any existing cluster via agent tunnel

# 4. Monitor cluster creation
astroctl infra k8s progress stream prod

# 5. Deploy an application
astroctl app apply -f app.yaml
astroctl app status myapp

# 6. View and manage
astroctl infra k8s get
astroctl infra k8s upgrade prod 1.31
astroctl app logs myapp -f

Use --help on any subcommand for details and examples.

Options

-h, --help help for astroctl
-o, --output string Output format (json|yaml) (default "yaml")

SEE ALSO