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 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 or in a data plane cluster 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 you have 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 it is encrypted 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 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. APC 1.x applies platform config first and cluster overrides second for supported deployments.* settings. Use Configure Astro Private Cloud to decide which layer to update before you run a Helm upgrade.astronomer. Your platform release name can be found in your list of active namespaces, which you can view by running the following command:To locate your platform release name, run:
values.yaml file and run the following command to apply it as a Helm upgrade:Setting astronomer.houston.upgradeDeployments.enabled=false ensures that no Airflow components in Deployments are restarted during your upgrade.