Use this guide to deploy an Astro Private Cloud (APC) data plane with the Helm-based Astronomer platform charts. Data planes host Airflow runtimes and execute Dag workloads while relying on the APC control plane for shared services such as the UI, Houston API, monitoring coordination, and authentication.
Before you begin, deploy the control plane and verify network connectivity between the clusters. See Install the APC Control Plane for setup steps.
While it is possible to register a data plane to multiple control planes, Astronomer does not recommend or support this configuration.
eksctl for creating and managing your Astronomer cluster on EKS.Astro Private Cloud requires a Kubernetes Ingress controller in the data plane to function and provides an integrated Ingress controller by default. Before installing, you need to decide whether to use a third-party ingress controller or use Astronomer’s integrated ingress controller.
Astronomer generally recommends you use the integrated Ingress controller, but Astro Private Cloud also supports certain third-party ingress-controllers.
Ingress controllers typically need elevated permissions, including a ClusterRole, to function. Specifically, the Astro Private Cloud Ingress controller requires the ability to:
If you have complex regulatory requirements, you might need to use an Ingress controller that’s approved by your organization and disable Astronomer’s integrated controller. You configure the Ingress controller during the installation.
Reuse the same top-level directory you created during the control plane install (for example, ~/astronomer-dev) and create a subdirectory for each data plane. Using names such as ~/astronomer-dev/dp-dev-01a, ~/astronomer-dev/dp-dev-01b, or ~/astronomer-dev/dp-prod-01a keeps the control plane environment obvious in the path and scales cleanly as you add more data planes.
values.yaml from a templateAstro Private Cloud uses Helm to apply platform-level configurations. Choose your cloud provider tab below to copy a ready-to-use values.yaml, then update image tags, domains, and secrets before deploying.
As you work with the template configuration, keep the following in mind.
helm upgrade or upgrade.sh until instructed to do so in later steps.helm upgrade from other Astronomer documentation until you’ve completed this installation.Assign a unique value to global.plane.domainPrefix. Astronomer uses this prefix as the leftmost label for every data plane hostname (for example, commander.<domainPrefix>.<baseDomain> and prometheus.<domainPrefix>.<baseDomain>) and includes it in monitoring metadata.
Update your values file with the chosen suffix. For example:
Set global.baseDomain in this data plane’s values.yaml to the same value used by the control plane. All planes must share the exact base domain so HTTPS certificates and DNS records align.
Update your values file with the base domain. For example:
In your Kubernetes cluster, create a Kubernetes namespace to contain the Astro Private Cloud platform, for example apc-dp-01:
Astro Private Cloud installs components into this namespace to provision and manage Airflow Deployments running in other namespaces. Each Airflow Deployment has its own isolated namespace.
To install Astro Private Cloud, you need a TLS certificate that is valid for several domains. One of the domains is the primary name on the certificate, also known as the common name (CN). The additional domains are equally valid, supplementary domains known as Subject Alternative Names (SANs).
Astronomer requires a private certificate to be present in the Astro Private Cloud platform namespace, even if you use a third-party ingress controller that doesn’t otherwise require it.
Request a TLS certificate from your security team for Astro Private Cloud. In your request, include the following:
<domainPrefix>.<baseDomain> as the Common Name (CN). If your certificate authority will not issue certificates for the bare base domain, use commander.<domainPrefix>.<baseDomain> as the CN instead.*.<domainPrefix>.<baseDomain> plus an explicit SAN for <domainPrefix>.<baseDomain>.<domainPrefix>.<baseDomain> (Commander metadata service)commander.<domainPrefix>.<baseDomain>deployments.<domainPrefix>.<baseDomain> (required for Airflow UIs and APIs)prometheus.<domainPrefix>.<baseDomain>prom-proxy.<domainPrefix>.<baseDomain>registry.<domainPrefix>.<baseDomain> (only if you keep the integrated registry enabled)es-proxy.<domainPrefix>.<baseDomain> and elasticsearch.<domainPrefix>.<baseDomain> (only when logging tags are enabled)*.<baseDomain> will not secure data plane hosts such as commander.<domainPrefix>.<baseDomain>. Request a dedicated wildcard *.<domainPrefix>.<baseDomain> or list each hostname explicitly.key.pem containing the private key in pem formatfull-chain.pem (containing the public certificate and additional certificates required to validate it, in pem format) or a bare cert.pem and explicit affirmation that there are no intermediate certificates and that the public certificate is the full chain.private-root-ca.pem in pem format of the private Certificate Authority used to create your certificate or a statement that the certificate is signed by a public Certificate Authority.--key-type rsa when requesting certificates. Most other solutions generate RSA keys by default.Ensure that you received each of the following three items:
key.pem containing the private key in pem format.full-chain.pem, in pem format, that contains the public certificate and additional certificates required to validate it or a bare cert.pem and explicit affirmation that there are no intermediate certificates and that the public certificate is the full chain.private-root-ca.pem in pem format of the private Certificate Authority used to create your certificate or a statement that the certificate is signed by public Certificate Authority.To validate that your security team generated the correct certificate, run the following command using the openssl CLI:
This command will generate a report. If the X509v3 Subject Alternative Name section of this report includes either a single *.<baseDomain> wildcard domain or all subdomains, then the certificate creation was successful.
Confirm that your full-chain certificate chain is ordered correctly. To determine your certificate chain order, run the following command using the openssl CLI:
The command generates a report of all certificates. Verify that the certificates are in the following order:
The Astro Private Cloud integrated container registry requires that your private key signs traffic originating from the Astro Private Cloud platform using the RSA encryption method. Confirm that the key is signing traffic correctly before proceeding.
Run the following command to extract the bare public cert, if it was not already included in the files provided by your certificate authority, from the full-chain certificate file:
Examine the public certificate and ensure all Signature Algorithms are listed as sha1WithRSAEncryption.
If your key is not compatible with the Astro Private Cloud integrated container registry, ask your Certificate Authority to re-issue the credentials and emphasize the need for an RSA cert, or use an external container registry.
Determine whether or not your certificate was issued by an intermediate certificate-authority. If you do not know, assume you use an intermediate certificate and attempt to obtain a full-chain.pem bundle from your certificate authority.
Certificates issued by operators of root certificate authorities, including but not limited to LetsEncrypt, are frequently issued from intermediate certificate authorities associated with a trusted root CA.
If, and only if, your certificate was issued directly by the root Certificate Authority of a universally trusted certificate authority, and not from one of their intermediaries, then the server.crt is also the full-chain certificate bundle.
Identify your full-chain public certificate .pem file and use it while storing and configuring the ingress controller TLS certificate.
--cert parameter must reference your full-chain.pem, which includes the server certificate and any intermediate certificates, if any. Using the server cert directly causes Dag and image deploys to fail.Run the following command to store the public full-chain certificate in the Astro Private Cloud Platform Namespace in a tls-type Kubernetes secret. You can create a custom name for this secret. The following example uses the name, astronomer-tls.
Naming the secret astronomer-tls with no substitutions is recommended when using a third-party ingress controller.
If you use Astro Private Cloud’s integrated ingress controller, you can skip this step.
Complete the full setup as described in Third-party Ingress-Controllers, which includes steps to configure ingress controllers in specific environment types. When you’re done, return to this page and continue to the next step.
Skip this step if you don’t use a private Certificate Authority (private CA) to sign the certificate used by your ingress-controller. Or, if you don’t use a private CA for any of the following services that the Astro Private Cloud platform interacts with.
Astro Private Cloud trusts public Certificate Authorities automatically.
Astro Private Cloud must be configured to trust any private Certificate Authorities issuing certificates for systems Astro Private Cloud interacts with, including but not limited-to:
Perform the procedure described in Configuring private CAs for each certificate authority used to sign TLS certificates. After creating the trust secret (for example astronomer-ca), add it to global.privateCaCerts in values.yaml so platform components trust the issuer.
If at least one of the following circumstances apply to your installation, complete this step:
Kubernetes must be able to pull images from one or more container registries for Astro Private Cloud to function. By default, Kubernetes only trusts publicly signed certificates. This means that by default, Kubernetes does not honor the list of certificates trusted by the Astro Private Cloud platform.
Many enterprises configure Kubernetes to trust additional certificate authorities as part of their standard cluster creation procedure. Contact your Kubernetes Administrator to find out what, if any, private certificates are currently trusted by your Kubernetes Cluster. Then, consult your Kubernetes administrator and Kubernetes provider’s documentation for instructions on configuring Kubernetes to trust additional CAs.
Follow procedures for your Kubernetes provider to configure Kubernetes to trust each CA associated with your container registries, including the integrated container registry, if applicable.
Certain clusters do not provide a mechanism to configure the list of certificates trusted by Kubernetes.
While configuring the Kubernetes list of cluster certificates is a customer responsibility, Astro Private Cloud includes an optional component that can, for certain Kubernetes cluster configurations, add certificates defined in global.privateCaCerts to the list of certificates trusted by Kubernetes. This can be enabled by setting global.privateCaCertsAddToHost.enabled and global.privateCaCertsAddToHost.addToContainerd to true in your values.yaml file and setting global.privateCaCertsAddToHost.containerdConfigToml to:
For example, if your base domain is apc-01.mydomain.internal, the domain prefix is apc-dp-01a, and the CA public certificate is stored in the namespace in a secret named my-private-ca, the global.privateCaCertsAddToHost section would be:
Skip this step if your cluster defines a volume storage class, and you want to use it for all volumes associated with Astro Private Cloud and its Airflow Deployments.
Astronomer strongly recommends that you do not back any volumes used for Astro Private Cloud with mechanical hard drives.
Create storage-class-config.yaml in your project directory and update the configuration to match your environment:
Remove the elasticsearch section unless you plan to enable logging (tags.logging: true).
Merge these values into values.yaml manually or by using a YAML merge tool of your choosing.
The data plane needs access to a database to create and manage the Airflow Deployment databases. To do this an admin user with the ability to create databases and users should be configured and placed into the astronomer-bootstrap secret in the data plane namespace.
Ensure firewalls, network policies, and routing rules allow pods in this data plane cluster to reach the database host/port.
Create a Kubernetes secret with the admin user connection string in the data plane namespace:
If the secret already exists, use kubectl apply to update it instead of recreating it.
If your organization rotates database credentials automatically, include the data plane namespace in the same rotation workflow so the secret stays in sync.
Astro Private Cloud users create customized Airflow container images when they deploy project code to the platform. These images frequently contain sensitive information and must be stored in a secure location accessible to Kubernetes.
Ensure network access from the cluster to your registry endpoint and limit visibility to trusted networks (for example private subnets or VPN access). No additional Astronomer configuration is required.
See Configure a custom registry for Deployment images for full details, including per-deployment registries and air gapped workflows.
Astronomer recommends new Astro Private Cloud installations use the most recent version available in either the Stable or Long Term Support (LTS) release-channel. Keep this version number available for the following steps. For a separate control plane and data plane topology, at least version 1.0.0 of Astro Private Cloud is required.
See Astro Private Cloud’s lifecycle policy and version compatibility reference for more information.
If you have internet access to https://helm.astronomer.io, run the following command on the machine where you want to install Astro Private Cloud:
If you don’t have internet access to https://helm.astronomer.io, download the Astro Private Cloud Platform Helm chart file corresponding to the version of Astro Private Cloud you are installing or upgrading to from https://helm.astronomer.io/astronomer-<version number>.tgz. For example, for Astro Private Cloud v1.0.0 you would download https://helm.astronomer.io/astronomer-1.0.0.tgz. This file does not need to be uploaded to an internal chart repository.
Create a file named upgrade.sh in your platform deployment project directory containing the following script. Specify the following values at the beginning of the script:
CHART_VERSION: Your Astro Private Cloud version, including patch and a v prefix. For example, v1.0.0.RELEASE_NAME: Your Helm release name. astronomer is strongly recommended.NAMESPACE: The namespace to install platform components into. astronomer is strongly recommended.CHART_NAME: Set to astronomer/astronomer if fetching platform images from the internet. Otherwise, specify the filename if you’re installing from a file (for example astronomer-1.0.0.tgz).If you’re not installing Astro Private Cloud into an OpenShift Kubernetes cluster, skip this step.
Add the following values into values.yaml. You can do this manually or by using a YAML merge tool of your choosing.
Only Ingress objects with the annotation route.openshift.io/termination: "edge" are supported for generating routes in OpenShift 4.11 and later.
Other termination types are no longer supported for automatic route generation.
If you’re on an older version of OpenShift, route creation should be done manually.
Astro Private Cloud on OpenShift is only supported when using a third-party ingress-controller and using the logging sidecar feature of Astro Private Cloud. The above configuration enables both of these items.
By default, Astro Private Cloud automatically creates namespaces for each new Airflow Deployment.
You can restrict the Airflow management components of Astro Private Cloud to a list of predefined namespaces and configure it to operate without a ClusterRole by following the instructions in Configure a Kubernetes namespace pool for Astro Private Cloud. If you want to disable creation of role and rolebindings for commander, config-syncer, and kubestate metrics, you can set global.features.namespacePools.createRbac to false.
When global.rbacEnabled is set to false, the platform no longer creates any role, rolebindings, or service accounts. The user must define default roles to the k8s default service account to continue with the platform install. See Bring your own Kubernetes service accounts for setup steps.
Running a logging sidecar to export Airflow task logs is essential for running Astro Private Cloud in a multi-tenant cluster.
By default, Astro Private Cloud creates a privileged DaemonSet to aggregate logs from Airflow components for viewing from within Airflow and the Astro Private Cloud UI.
You can replace this privileged Daemonset with unprivileged logging sidecars by following instructions in Export logs using container sidecars.
Deploy the data plane using the upgrade.sh script you created earlier. Confirm RELEASE_NAME, NAMESPACE, and CHART_VERSION reflect your environment, then execute:
To review manifests before applying them, run ./upgrade.sh --dry-run or use helm template with the same flags defined in the script.
Whether you use Astronomer’s integrated ingress controller or a third-party controller, publish the same set of DNS records so users can reach data plane services.
If you use the integrated controller, get the load balancer address directly:
If you use a third-party controller, ask your ingress administrator for the hostname or IP address that should front the Astronomer routes (refer back to the details you gathered in Step 9).
Create either a wildcard record for *.<domainPrefix>.<baseDomain>, such as *.apc-dp-01a.apc-01.example.com or individual CNAME records for the following data plane hostnames so that traffic routes through the chosen load balancer:
<domainPrefix>.<baseDomain>commander.<domainPrefix>.<baseDomain>prometheus.<domainPrefix>.<baseDomain>prom-proxy.<domainPrefix>.<baseDomain>registry.<domainPrefix>.<baseDomain> (only if you keep the integrated registry enabled)prometheus.<domainPrefix>.<baseDomain>prom-proxy.<domainPrefix>.<baseDomain>registry.<domainPrefix>.<baseDomain> (only if you keep the integrated registry enabled)es-proxy.<domainPrefix>.<baseDomain> and elasticsearch.<domainPrefix>.<baseDomain> (only when logging tags are enabled)Astronomer generally recommends pointing the zone apex (@) directly to the load balancer address and mapping the remaining hostnames as CNAMEs to that apex. In lower environments, you can safely use a low TTL (for example 60 seconds) to speed up troubleshooting during the initial rollout.
After your DNS provider propagates the records, verify them with tools like dig commander.<domainPrefix>.<baseDomain> or getent hosts commander.<domainPrefix>.<baseDomain>. You can complete this DNS work after verifying the platform pods—Astronomer services stay healthy without external DNS, but end users need these records to sign in.
To verify all pods are up and running, run:
All pods should be in Running status. For example,
If all pods are not in running status, check the guide on debugging your installation or contact Astronomer support for additional configuration assistance.
podLabels configuration, you can also search for Pods created by Astro Private Cloud by searching for the key-value pair in the label you created. See Add Pod labels.Congratulations, you have configured and installed an Astro Private Cloud platform instance—your new data plane!
The following topics include optional information about one or multiple topics in the installation guide:
Add the data plane to the control plane UI so Houston can schedule workloads onto it. See Register a data plane with the APC control plane for instructions on exchanging tokens, approving connectivity, and assigning deployments.