question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Kubeflow dashboard issue on AWS with latest/stable: v1.18.1

See original GitHub issue

I am trying to setup kubeflow on latest/stable: v1.18.1 Followed these instructions for setup on AWS EC2 instance (Ubuntu 18.04 LTS) https://ubuntu.com/kubeflow/install I am able to access parts of kubeflow UI from my laptop with the below commands

kubectl port-forward -n kubeflow service/kubeflow-dashboard 9000:8082 --address=0.0.0.0 &
kubectl port-forward -n kubeflow service/pipelines-ui 9001:3000 --address=0.0.0.0 &

I provided mode details here https://github.com/kubeflow/manifests/issues/974#issuecomment-612546805 (The user here uses kfctl and in my case microk8s uses juju) I am looking for documentation about how setup and access kubeflow UI from my laptop I looked at #713, but the instructions are not clear. Appreciate if you could provide more detailed setup instructions

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:20 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
bipinmcommented, Jul 21, 2020

Was getting similar error but can confirm that following steps work and i can access all the application urls from within the dashboard. Just had to combine the answers @ both these links https://github.com/kubeflow/manifests/issues/974 https://stackoverflow.com/questions/60973804/microk8s-broken-k8s-dashboard-and-kubeflow-dashboard

  1. Ping your AWS EC2 instance and fetch the IP address ping ec2-XX-XX-XX-XXX.ap-south-1.compute.amazonaws.com Output A.B.C.D

  2. Add following line to /etc/hosts in local/laptop A.B.C.D 10.64.140.43.xip.io

  3. In AWS instance, find port for ambassador microk8s.kubectl get services -n kubeflow | grep ambassador Output:

ambassador                             LoadBalancer   10.152.183.172   10.64.140.43   80:31582/TCP        88m
ambassador-operator                    ClusterIP      10.152.183.169   <none>         30666/TCP           88m
  1. In local/laptop navigate to http://ec2-XX-XX-XX-XXX.ap-south-1.compute.amazonaws.com:31582/ Output: Your browser should re-direct to http://10.64.140.43.xip.io/dex/auth/local?req=xxxxxxxxxxxxx and show a login page

  2. Login with credentials you received after activating kubeflow with microk8s.enable kubeflow Output: Kubeflow dashboard is available @ http://10.64.140.43.xip.io/?ns=admin

Environment: AMI: Ubuntu Server 20.04 microk8s (sudo snap find microk8s): v1.18.4

Note: The method seems works only until a reboot.

0reactions
paravathacommented, Jul 26, 2020

@bipinm Thanks for the update. I tried with the below setup and it worked for me as well AMI: Ubuntu 18.04 Size : t3a.xlarge (4 cpu, 16GB) microk8s : v1.18.6

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kubeflow dashboard issue on AWS with latest/stable: v1. ...
I am trying to setup kubeflow on latest/stable: v1.18.1. Followed these instructions for setup on AWS EC2 instance (Ubuntu 18.04 LTS)
Read more >
Kubeflow on AWS
Use Kubeflow on AWS to streamline data science tasks and build highly reliable, secure, and scalable machine learning systems with reduced ...
Read more >
Machine Learning with Kubeflow on Amazon EKS with ...
You can use Kubeflow to build ML systems on top of Amazon EKS to ... Login to the Kubeflow dashboard with the default...
Read more >
Install Kubeflow Pipelines - Amazon SageMaker
Instructions to install Kubeflow Pipelines with Kubeflow on AWS or standalone. ... to connect to the Kubeflow dashboard and navigate to the pipelines...
Read more >
Enabling hybrid ML workflows on Amazon EKS and Amazon ...
In this post, we discuss new Kubeflow on AWS v1.6.1 features and ... From the dashboard, we spin up a Kubeflow Jupyter notebook...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found