Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to access airflow web #12

Closed
markqiu opened this issue Aug 6, 2017 · 4 comments
Closed

how to access airflow web #12

markqiu opened this issue Aug 6, 2017 · 4 comments

Comments

@markqiu
Copy link

markqiu commented Aug 6, 2017

as mentioned in the readme, use make web-browse to access airflow web interface. but the I checked the Makefile, this just start minikube command which confuses me:
minikube service web -n $(NAMESPACE)

so my question is how to access the airflow web interface from a remote machhine not in a minikube environment? Thank you.

@rolanddb
Copy link

rolanddb commented Nov 1, 2017

@markqiu You can use portforwarding.

First find the pod name:
kubectl get pods

Then forward the port:
kubectl port-forward web-4130159376-46z6r 8080

Then open localhost:8080 in your browser.

@markqiu
Copy link
Author

markqiu commented Nov 7, 2017

thank you very much! @rolanddb

@markqiu markqiu closed this as completed Nov 7, 2017
@gsemet
Copy link
Contributor

gsemet commented Nov 7, 2017

Can you update the README for that?

@raam86
Copy link

raam86 commented Oct 30, 2018

You may also use ingress. Make sure you have that addon in minikube

    web:
     nginx.ingress.kubernetes.io/app-root: /airflow
      # Example for Traefik:
      # traefik.frontend.rule.type: PathPrefix
      # kubernetes.io/ingress.class: traefik

    flower:
    #   traefik.frontend.rule.type: PathPrefix
    #   kubernetes.io/ingress.class: traefik
     nginx.ingress.kubernetes.io/app-root: /airflow/flower

  # hostname for both endpoint
  host: "k8.etl"
  path:
    # if web is '/airflow':
    #  - UI will be accessible to '/airflow/admin'
    #  - Healthcheck is at 'http://mycompany.com/airflow/health'
    #  - api is at 'http://mycompany.com/airflow/api'
    web: /airflow
    # if flower is '/airflow/flower':
    #  - api is at 'http://mycompany.com/airflow/flower'
    flower: /airflow/flower

Flower doesn't really work yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants