From 8aa22af635fecea17567a72ca04ba7835f4d635d Mon Sep 17 00:00:00 2001 From: Sarah Maddox Date: Thu, 24 Oct 2019 09:31:23 -0700 Subject: [PATCH] Replaced KFAPP with KF_NAME and fixed some URLs. (#1266) --- content/docs/pipelines/sdk/gcp/preemptible.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/content/docs/pipelines/sdk/gcp/preemptible.md b/content/docs/pipelines/sdk/gcp/preemptible.md index 9cdcf47a47..03dcabe162 100644 --- a/content/docs/pipelines/sdk/gcp/preemptible.md +++ b/content/docs/pipelines/sdk/gcp/preemptible.md @@ -65,9 +65,9 @@ Where: autoscaling](https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-autoscaler) functionality. + `DEPLOYMENT_NAME` is the name of your Kubeflow deployment. If you used - [the CLI to deploy Kubeflow](https://www.kubeflow.org/docs/gke/deploy/deploy-cli/), - this name is the value of the `${KFAPP}` environment variable. If you used - the [deployment UI](https://www.kubeflow.org/docs/gke/deploy/deploy-ui/), + [the CLI to deploy Kubeflow](/docs/gke/deploy/deploy-cli/), + this name is the value of the `${KF_NAME}` environment variable. If you used + the [deployment UI](/docs/gke/deploy/deploy-ui/), this name is the value you specified as the deployment name. + `PROJECT_NAME` is the name of your GCP project. @@ -85,7 +85,7 @@ Below is an example of the command: After configuring a node pool with preemptible VMs, you must configure your pipelines to run on the preemptible VMs. -In the [DSL code](https://www.kubeflow.org/docs/pipelines/sdk/dsl-overview/) for +In the [DSL code](/docs/pipelines/sdk/sdk-overview/) for your pipeline, add the following to the `ContainerOp` instance: .apply(gcp.use_preemptible_nodepool()) @@ -187,9 +187,9 @@ Where: [GKE autoscaling](https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-autoscaler) functionality. + `DEPLOYMENT_NAME` is the name of your Kubeflow deployment. If you used - [the CLI to deploy Kubeflow](https://www.kubeflow.org/docs/gke/deploy/deploy-cli/), - this name is the value of the `${KFAPP}` environment variable. If you used - the [deployment UI](https://www.kubeflow.org/docs/gke/deploy/deploy-ui/), + [the CLI to deploy Kubeflow](/docs/gke/deploy/deploy-cli/), + this name is the value of the `${KF_NAME}` environment variable. If you used + the [deployment UI](/docs/gke/deploy/deploy-ui/), this name is the value you specified as the deployment name. + `PROJECT_NAME` is the name of your GCP project. + `GPU_TYPE` is the [type of @@ -208,7 +208,7 @@ Below is an example of the command: ### 3. Schedule your pipeline to run on the preemptible VMs with preemptible GPUs -In the [DSL code](https://www.kubeflow.org/docs/pipelines/sdk/dsl-overview/) for +In the [DSL code](/docs/pipelines/sdk/sdk-overview/) for your pipeline, add the following to the `ContainerOp` instance: .apply(gcp.use_preemptible_nodepool()