airflow-chart icon indicating copy to clipboard operation
airflow-chart copied to clipboard

Connecting to ingress through web-browser

Open ooverandout opened this issue 6 years ago • 4 comments

Hi!

I have successfully installed your cluster on my machine (though had to change sleep(10) to sleep 10 in the values.yaml). Everything seems to be running successfully, though I am getting unable to connect when visiting https://airflow.192.168.99.100.xip.io (which is the address provided after running helm init).

Can you point me to how can I connect to the ingress service, so that airflow will be visible in my browser?

Thank you!

ooverandout avatar May 23 '19 11:05 ooverandout

Ahh, yeah, depending on how k8s is set up on your machine it might not work. I would guess that it dont use the same IP. But if you do kubectl port-forward svc/airflow 7000:80 in the terminal and then open a browser to http://localhost:7000

Another way of doing it is to check the IP of your k8s cluster, and replace that in the values file so that ingress hosts use: airflow.[insert ip here].xip.io. If you use minikube you check that by running minikube ip for example...

tekn0ir avatar May 23 '19 12:05 tekn0ir

Hey, I will try that solution, thank you :). One question I have is that on my cluster I cannot have a tiller running. I was wondering then if there is an alternative way to deploy your Code without using helm (or possible using helm without tiller?)

ooverandout avatar May 27 '19 10:05 ooverandout

You can run helm template templates/ | kubectl apply --validate -f -

null-sleep avatar Jun 25 '19 07:06 null-sleep

Error: no Chart.yaml exists in directory "/home/adam/Downloads/airflow-chart-master/templates"
error: no objects passed to apply

This is what I get unfortunately. and copying Chart.yaml into templates removes first error, but the second still stays

ooverandout avatar Jul 11 '19 13:07 ooverandout