Astro Private Cloud uses Helm to install and manage some platform-level settings that apply to all users and Deployments. The Astronomer Helm chart includes configurations for areas such as:
You can apply any platform customizations to your cluster using a YAML configuration. values.yaml contains settings for both the Astronomer Helm chart, as well as Helm charts for system components like Elasticsearch and nginx. Using Helm allows you to keep all of your configurations in a single file that you can version and store securely.
Use this document to learn how to retrieve your existing Helm configuration, modify configurations, and apply your changes to your cluster.
Before you edit values.yaml, read Configure Astro Private Cloud to decide whether a setting belongs in platform Helm values, a cluster override, a workspace override, or a deployment override.
The best way to add or modify configurations is to start with your existing values.yaml file. To retrieve the current values.yaml file of an existing APC cluster, run the following command:
This command overwrites any file called values.yaml in your current directory.
Alternatively, your team might use version management to store your existing Helm configuration. In this case, retrieve, update, and store your configuration file according to your team’s workflows. If your configuration file includes secrets, ensure you encrypt it before storing it in version control.
values.yaml file so that you can compare your existing configuration to your new configuration.values.yaml file and then modify the value.When you have finished updating the configuration, ensure that the configurations have the same relative order and indentation as they do in the default configuration file. If they don’t, your changes might not be properly applied. The name of the Helm charts you’re modifying should be the first items in the file, such as in the following example:
astronomer.houston.config. Astro Private Cloud (APC) 2.x applies platform config first, then cluster, workspace, and Deployment overrides for supported deployments.* settings. Use Configure Astro Private Cloud to decide which layer to update before you run a Helm upgrade.Copy your platform namespace and release name. These are both likely to be astronomer. Find your platform release name in your list of active namespaces by running the following command:
To locate your platform release name, run:
Save your updated values.yaml file and run the following command to apply it as a Helm upgrade:
Setting astronomer.houston.upgradeDeployments.enabled=false ensures that Apache Airflow components in Deployments don’t restart during your upgrade.
Run the following command to confirm that your configuration was applied: