kubectl and Helm
kubectl and Helm are the two primary ways DevOps users will interact/administer the Astronomer Platform.Setup
Both these tools are needed to deploy Astro Private Cloud onto a Kubernetes cluster. We also recommend usingkubectx to simplify commands (the rest of this guide will use kubectx).
Base namespace and release
The initialhelm install command to deploy Astro Private Cloud requires a namespace to deploy the base platform pods into.
datarouter namespace.
All pods can be listed in the namespace with kubectl.
helm ls -A to list all releases:
singed-chimp) and Postgres (cautious-seal) in the datarouter namespace.
Create new Airflow deployments
If you navigate to the Astro Private Cloud UI and create a new deployment, it creates a new Helm release in a new namespace.accurate-bolide-9914 Helm release now lives in the a namespace generated by Astronomer named $basenamespace-release_name (datarouter-accurate-bolide-9914) and lives on the URL $release-name-airflow.<BASEDOMAIN>.
Switching into the datarouter-accurate-bolide-9914 namespace reveals the Airflow pods.
Manage Pods
Airflow logs can be fetched directly from the underlying pods:describe command
Other resources
For additionalkubectl commands, check out this Kubernetes Cheat Sheet.