3

我正在尝试按照本教程使用MiniKFKubeflow Pipelines在本地运行一个示例机器学习管道(意思是:在 Windows 10 笔记本电脑上本地) ,但我无法访问应该出现在http://10.10 的站点。 10.10 .

我安装了:

然后,在 CMD 提示符下,我运行:

C:\Users\jervan\Documents\minikf>vagrant init arrikto/minikf
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.

C:\Users\jervan\Documents\minikf>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Using C:/Users/jervan/Documents/minikf/minikf-user-data.vdi for persistent storage.
==> default: Importing base box 'arrikto/minikf'...
==> default: Generating MAC address for NAT networking...
==> default: Using C:/Users/jervan/Documents/minikf/minikf-user-data.vdi for persistent storage.
==> default: Checking if box 'arrikto/minikf' version '20200305.1.0' is up to date...
==> default: Setting the name of the VM: minikf_default_1584993248035_85721
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 32123 (guest) => 32123 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Using C:/Users/jervan/Documents/minikf/minikf-user-data.vdi for persistent storage.
==> default: Running 'pre-boot' VM customizations...
==> default: Using C:/Users/jervan/Documents/minikf/minikf-user-data.vdi for persistent storage.
==> default: ** Creating persistent storage **
==> default: Using C:/Users/jervan/Documents/minikf/minikf-user-data.vdi for persistent storage.
==> default: ** Attaching persistent storage **
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection reset. Retrying...
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 6.0.14_Ubuntu r132055
    default: VirtualBox Version: 6.1
==> default: Using C:/Users/jervan/Documents/minikf/minikf-user-data.vdi for persistent storage.
==> default: ** Managing persistent storage **
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /vagrant => C:/Users/jervan/Documents/minikf

==> default: Machine 'default' has a post `vagrant up` message. This is a message
==> default: from the creator of the Vagrantfile, and not from Vagrant itself:
==> default:
==> default:     Welcome to MiniKF!
==> default:     Visit http://10.10.10.10/ to get started.
==> default:

但是当我访问http://10.10.10.10时,我收到“无法访问此站点。10.10.10.10 响应时间太长。” 错误。

我的 Virtualbox 设置如下所示:

虚拟机设置

我可以像这样 ssh 进入盒子:

C:\Users\jervan\Documents\minikf>vagrant ssh
Last login: Mon Mar 23 13:14:17 2020 from 10.0.2.2

Welcome to MiniKF!

Type "minikf" to ensure everything is up and running.

vagrant@minikf:~$

当我键入时,minikf我得到了 MiniKF Provisioing 工具(这是您通常会在 MiniKF 登录页面中看到的嵌入工具)。

MiniKF 配置工具

配置软件后,我看到 Pod 启动并显示消息“Kubeflow 已部署”。但是在“暴露服务”阶段之后,我看到错误弹出:

在此处输入图像描述

如果我点击输入,那么错误就会消失,并且“配置完成”。显示用户名和密码的屏幕。

如果我转到 VirtualBox 并单击绿色箭头,则会显示 ubuntu 登录页面,但我无法使用上一步中显示的凭据登录。

在此处输入图像描述

4

1 回答 1

1

我有一个类似的问题。第一次,它无法启动,在我再次运行 vagrant up 后它启动,但我无法访问 我遇到的 10.10.10.10 错误

然后我进入虚拟机本身并像这样关闭它:

关闭虚拟机

手动关闭后,我再次 vagrant up,现在我可以访问 10.10.10.10

于 2020-05-26T06:20:48.063 回答