0%

学习Kubeflow

学习Kubeflow

介绍

Kubeflow的目标是在Kubernetes上能够简单的部署机器学习过程中涉及到的各种工具和服务,并提供迁移和扩展的方法。

Kubeflow牵扯到大量机器学习的概念和方式方法,需要对ML有基本的了解才能更好的运用和理解。

安装

  • 环境是两台虚拟机,16C32G100G
    1
    2
    # cat /etc/rocky-release
    Rocky Linux release 8.5 (Green Obsidian)
  • 更新系统
    1
    # dnf update -y
  • 安装Kubernetes(1.28.6)
    1
    2
    3
    4
    # dnf install -y conntrack socat iptables ipvsadm wget git
    # kk create cluster -f config.yml -y
    17:06:32 CST Pipeline[CreateClusterPipeline] execute successfully
    Installation is complete.
  • 安装基础工具
    1
    2
    3
    4
    5
    6
    7
    sudo sysctl fs.inotify.max_user_instances=2280
    sudo sysctl fs.inotify.max_user_watches=1255360

    wget https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv5.3.0/kustomize_v5.3.0_linux_amd64.tar.gz