-
Notifications
You must be signed in to change notification settings - Fork 16.1k
Description
Official Helm Chart version
1.18.0 (latest released)
Apache Airflow version
3.0.2
Kubernetes Version
v1.27.4
Helm Chart configuration
I am trying to deploy latest airflow helm chart
chart - airflow-1.18.0
Image : version 3.0.2
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: airflow-ingress
annotations:
# Rewrite the path from /airflow to / to send clean requests to the API server
nginx.ingress.kubernetes.io/rewrite-target: /$2
# Ensure correct redirection for the custom path
nginx.ingress.kubernetes.io/use-regex: "true"
spec:
rules:
- host: hostname.com
http:
paths:- path: /airflow(/|$)(.*) # Match requests starting with /airflow or /airflow/
pathType: ImplementationSpecific
backend:
service:
name: airflow-api-server # The name of your Airflow API server service
port:
name: api-server # The port name or number for the API server
- path: /airflow(/|$)(.*) # Match requests starting with /airflow or /airflow/
config added
webserver:
# For Airflow 2.X
enable_proxy_fix: 'True'
# For Airflow 1.10
rbac: 'True'
base_url: "https://hostname.com/airflow"
I am getting blank page while hitting https://hostname.com/airflow URL
anything missing
Docker Image customizations
No response
What happened
No response
What you think should happen instead
No response
How to reproduce
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: airflow-ingress
annotations:
# Rewrite the path from /airflow to / to send clean requests to the API server
nginx.ingress.kubernetes.io/rewrite-target: /$2
# Ensure correct redirection for the custom path
nginx.ingress.kubernetes.io/use-regex: "true"
spec:
rules:
- host: hostname.com
http:
paths:- path: /airflow(/|$)(.*) # Match requests starting with /airflow or /airflow/
pathType: Prefix
backend:
service:
name: airflow-api-server # The name of your Airflow API server service
port:
name: api-server # The port name or number for the API server
- path: /airflow(/|$)(.*) # Match requests starting with /airflow or /airflow/
config added
webserver:
# For Airflow 2.X
enable_proxy_fix: 'True'
# For Airflow 1.10
rbac: 'True'
base_url: "https://hostname.com/airflow"
Anything else
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md
Getting blank page on https://hostname.com/airflow url hit