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 Astronomer 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 Astronomer requires a namespace to deploy the base platform pods into.
datarouter namespace.
All pods can be listed in the namespace with kubectl.
helm ls to list all releases:
single-chimp) and postgres (cautious-seal) in the datarouter namespace.
Creating new Airflow deployments
If you navigate to the Software UI and create a new deployment, it will create 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.
Managing Pods
Airflow logs can be fetched directly from the underlying pods:describe command
Other Resources
For additionalkubectl commands, check out this Kubernetes Cheat Sheet.