Skip to content

chromatices/kfp-to-argo-pipeline-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kfp-to-argo-pipeline-example

This repository introduce method of how to release kubeflow pipeline to other cluster that Kubeflow is not installed.

Usage

$ bash run-yaml.sh

Requirements

  • kubernetes cluster with gpu
    • The ml-training in pipeline-sample must have gpu resource. If use only cpu, pod will be pending.
      • how to check gpu in your k8s cluster
        kubectl get nodes "-o=custom-columns=NAME:.metadata.name,GPU:.status.allocatable.nvidia\.com/gpu"

Application

  • It can execute without kubeflow since kubeflow pipeline's base is argo workflow. Some resource from kubeflow is need.
  • The ./install/argo_install.yaml install to your cluster argo pipeline v2.4.3.
  • In run-yaml.sh there have some apply information of kubeflow pipeline-runner role, rolebinding, service account.
kubectl apply -f https://raw.githubusercontent.com/kubeflow/manifests/5b1256f19a728908a7245db7460c3f742b01fb1e/apps/pipeline/upstream/base/pipeline/pipeline-runner-role.yaml
kubectl apply -f https://raw.githubusercontent.com/kubeflow/manifests/5b1256f19a728908a7245db7460c3f742b01fb1e/apps/pipeline/upstream/base/pipeline/pipeline-runner-rolebinding.yaml
kubectl apply -f https://raw.githubusercontent.com/kubeflow/manifests/5b1256f19a728908a7245db7460c3f742b01fb1e/apps/pipeline/upstream/base/pipeline/pipeline-runner-sa.yaml
  • In utils/, pipeline-sample.yaml has information about kubeflow pipelines. It made by python package kfp.
  • If you apply to your kfp, update your kfp yaml and edited run-yaml.sh's last line.
  • If your computer hasn't GPU, you should use utils/pipeline-cpu.yaml.

  • This work was supported by Institute for Information & communications Technology Promotion(IITP) grant funded by the Korea government(MSIT) (No.2021-0-00281, Development of highly integrated operator resource deployment optimization technology to maximize performance efficiency of high-load complex machine learning workloads in a hybrid cloud environment)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages