github.com/kubeflow/training-operator@v1.7.0/examples/xgboost/xgboost-dist/build.sh (about)

     1  ## build the docker file
     2  docker build -f Dockerfile -t merlintang/xgboost-dist-iris:1.0 ./
     3  
     4  ## push the docker image into docker.io
     5  docker push merlintang/xgboost-dist-iris:1.0
     6  
     7  ## run the train job
     8  kubectl create -f xgboostjob_v1alpha1_iris_train.yaml
     9  
    10  ## run the predict job
    11  kubectl create -f xgboostjob_v1alpha1_iris_predict.yaml