PROJECT_ID=REPLACE_WITH_YOUR_PROJECT_ID
docker run \
-e "GOOGLE_CLOUD_PROJECT=${PROJECT_ID}" \
-v ~/.config/gcloud:/root/.config/gcloud \
-it gcr.io/ml-pipeline/ml-pipeline-gcp:latest \
kfp_component.google.ml_engine deploy \
--model-uri gs://REPLACE_WITH_YOUR_OUTPUT_BUCKET \
--project-id $PROJECT_ID \
--model-id xgboost_model \
--version-id v1 \
--runtime-version 1.4 \
--replace-existing-version True \
--set-default True \
--wait-interval 30
Last active
January 29, 2020 19:22
-
-
Save post2web/4d171375276875944a859e596dc195d7 to your computer and use it in GitHub Desktop.
Run Deployer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment