How to dynamically set base URL without knowing it ahead of time for load balancers? #878
Unanswered
ketozhang
asked this question in
Questions & Answers
Replies: 1 comment 1 reply
-
@ketozhang you could use some kind of templating system to generate your values, possibly based on the name of each environment, by reading an environment variable, one such system is Helmfile. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm deploying multiple instances (i.e., multiple helm releases) for a multi-tenant Airflow setup. I'm exposing all of them through a common load balancer, AWS Load Balancer Controller.
The helm chart specifies if
ingress.web.path
is set, thenconfig.AIRFLOW_WEBSERVER__BASE_URL
must also be set. This makes sense, however I don't have ahead of time the endpoint URL as its only available during deployment .Statically, I could register a domain name or use dynamic DNS (e.g., Elastic IPs). This proves difficult for the kind of load balancers I'm using (ALBs).
Is there any dynamic solution?
Beta Was this translation helpful? Give feedback.
All reactions