Skip to content

Latest commit

 

History

History
108 lines (65 loc) · 4.27 KB

Using-MiniKF.md

File metadata and controls

108 lines (65 loc) · 4.27 KB

LAB: Creating LAB Environment, MiniKF with Vagrant

This lab shows:

  • how to install and use MiniKF
  • how to solve problems while installing MiniKF

Table of Contents

Kubeflow

What is MiniKF?

  • MiniKF is a virtual machine that is created by Arrikto.
  • MiniKF = Minikube + Kubeflow + ROK (Rok: Data Management Platform on Kubernetes, developed by Arrikto)

Why should we use MiniKF?

  • It is free and easy to use quickly for learning and developing Kubeflow pipelines in a one-virtual-machine.

How do we install MiniKF?

vagrant init arrikto/minikf
vagrant up

image

  • On browser, open http://10.10.10.10/

    image

    image

    image

  • With Kubectl on the host PC, we can see the running Kubernetes Objects. Download "kubectl" application, add the path of "kubectl" in the environment variables.

  • Download kubeconfig file as described below, hence it is possible to see the Kubernetes objects (pods, deployments, etc.)

    image

  • Run commands on the powershell on the host PC:

kubectl -n kubeflow get pods

image

  • Connect to the VM to see Kubeflow UI

    image

Troubleshooting

One of the pod is not ready (34/35 remaining)

image

image

  • Delete the pod that is 'CrashLoopBackOff', deleted service is restarted automatically.
kubectl delete pod notebook-controller-deployment-7c46fdd957-87zfw -n kubeflow

image

  • Connect MiniKF with clicking button

    image

Can't connect to MiniKF landing page on http://10.10.10.10 after installing MiniKF

Increasing 'config.vm.boot_timeout'

  • According to this post: https://stackoverflow.com/questions/32731629/where-to-find-config-vm-boot-timeout

  • Go to this file (VagrantFile), if your installation is default path: C:\HashiCorp\Vagrant\embedded\gems\2.3.4\gems\vagrant-2.3.4\Vagrantfile

  • In the root directory of your Vagrant install, there's the Vagrantfile file. There, I added config.vm.boot_timeout = 600 just after Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|.

config.vm.boot_timeout = 600