Skip to content

Commit 8805c93

Browse files
authored
Added parameter passing options
1 parent 0e62cd5 commit 8805c93

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/workflows/kubernetes/using_amazon_sagemaker_components.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ sample pipelines. To pass these parameters, update their entries when creating a
506506
Amazon SageMaker access in your AWS account. Use the ARN
507507
of  ``kfp-example-pod-role``.
508508
509-
- **The Dataset Bucket**: This is the name of the S3 bucket that you uploaded the ``kmeans_preprocessing.py`` file to.
509+
- **Bucket**: This is the name of the S3 bucket that you uploaded the ``kmeans_preprocessing.py`` file to.
510510

511511
You can adjust any of the input parameters using the KFP UI and trigger
512512
your run again.
@@ -595,18 +595,18 @@ currently does not support specifying input parameters while creating
595595
the run. You need to update your parameters in the Python pipeline file
596596
before compiling. Replace ``<experiment-name>`` and ``<job-name>``
597597
with any names. Replace ``<pipeline-id>`` with the ID of your submitted
598-
pipeline.
598+
pipeline. Replace ``<your-role-arn>`` with the ARN of ``kfp-example-pod-role``. Replace ``<your-bucket-name>`` with the name of the S3 bucket you created.
599599

600600
::
601601

602-
kfp run submit --experiment-name <experiment-name> --run-name <job-name> --pipeline-id <pipeline-id>
602+
kfp run submit --experiment-name <experiment-name> --run-name <job-name> --pipeline-id <pipeline-id> role_arn="<your-role-arn>" bucket_name="<your-bucket-name>"
603603

604604
You can also directly submit a run using the compiled pipeline package
605605
created as the output of the ``dsl-compile`` command.
606606

607607
::
608608

609-
kfp run submit --experiment-name <experiment-name> --run-name <job-name> --package-file <path-to-output>
609+
kfp run submit --experiment-name <experiment-name> --run-name <job-name> --package-file <path-to-output> role_arn="<your-role-arn>" bucket_name="<your-bucket-name>"
610610

611611
Your output should look like the following:
612612

0 commit comments

Comments
 (0)