Giter Site home page Giter Site logo

kubeflowinstall's Introduction

KubeflowInstall

根据Kubeflow官方文档中的安装指南,在本地部署KF应该到kubeflow/manifests当中安装。安装之前需要装好:

  • Kubernets(Up to 1.25) with a default StorageClass
  • kustomize 5.0.0
  • kubectl

Minikube

minikube是Kubernets的本地版本,可以依据文档的内容直接进行安装。

安装完成后记得执行minikube start,等到完成后,执行kubectl version,若正常,应该能够同时看到client和server的版本信息。

kustomize

直接根据链接下载对应版本并解压,加入环境变量即可。

安装kubectl

参考链接

安装kfctl

这里选择对应版本和平台,直接下载后解压即可。是可执行文件,添加到PATH

以上步骤完成后,将manifests clone到本地,在项目文件夹内执行

while ! kustomize build example | awk '!/well-defined/' | kubectl apply -f -; do echo "Retrying to apply resources"; sleep 10; done

安装中出现报错是正常现象。如果最后反复有那么几个安装不了,可以考虑记录下来先跳过,也可以按照指示后面的逐个安装部分尝试安装报错的部分(然而结果大概率还是报错)

此时运行kubectl get po -A,可以列出目前KF中所有Pod的状态。正常情况下,一段时间后所有Pod应该都处于Running状态。异常的状态包括Error和ImagePull出错等。

以下安装KF Pipeline

安装pipeline sdk

URL=https://storage.googleapis.com/ml-pipeline/release/latest/kfp.tar.gz
pip install "${URL}" --upgrade

clone kubeflow pipeline

git clone --single-branch --branch 0.3.0 https://github.com/kubeflow/pipelines.git

一切就绪后,运行

kubectl port-forward svc/istio-ingressgateway -n istio-system 8080:80

将istio放到8080端口。随后访问localhost:8080即可访问仪表盘。如果上述方法不奏效,则执行

kubectl port-forward --address 0.0.0.0 svc/istio-ingressgateway -n istio-system 8080:80

通过访问<ip-address>:8080来访问。

kubeflowinstall's People

Contributors

lin-xs avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.