diff --git a/samples/core/parameterized_tfx_oss/check_permission.png b/samples/core/parameterized_tfx_oss/check_permission.png new file mode 100644 index 00000000000..7c2aa5fd4a5 Binary files /dev/null and b/samples/core/parameterized_tfx_oss/check_permission.png differ diff --git a/samples/core/parameterized_tfx_oss/taxi_pipeline_notebook.ipynb b/samples/core/parameterized_tfx_oss/taxi_pipeline_notebook.ipynb index 8281855a516..b138be86023 100644 --- a/samples/core/parameterized_tfx_oss/taxi_pipeline_notebook.ipynb +++ b/samples/core/parameterized_tfx_oss/taxi_pipeline_notebook.ipynb @@ -17,7 +17,7 @@ "## Permission\n", "\n", "This pipeline requires Google Cloud Storage permission to run. \n", - "If KFP was deployed through K8S marketplace, please make sure full-scope access is checked when creating the cluster.\n", + "If KFP was deployed through K8S marketplace, please make sure **\"Allow access to the following Cloud APIs\"** is checked when creating the cluster. \n", "Otherwise, follow instructions in [the guideline](https://github.com/kubeflow/pipelines/blob/master/manifests/gcp_marketplace/guide.md#gcp-service-account-credentials) to guarantee at least, that the service account has `storage.admin` role." ] }, @@ -32,6 +32,38 @@ "!python3 -m pip install tfx==0.21.0 --quiet --user" ] }, + { + "cell_type": "markdown", + "source": [ + "Note: if you're warned by \n", + "```\n", + "WARNING: The script {LIBRARY_NAME} is installed in '/home/jupyter/.local/bin' which is not on PATH.\n", + "```\n", + "You might need to fix by running the next cell and restart the kernel." + ], + "metadata": { + "collapsed": false, + "pycharm": { + "name": "#%% md\n" + } + } + }, + { + "cell_type": "code", + "execution_count": null, + "outputs": [], + "source": [ + "# Set `PATH` to include user python binary directory and a directory containing `skaffold`.\n", + "PATH=%env PATH\n", + "%env PATH={PATH}:/home/jupyter/.local/bin" + ], + "metadata": { + "collapsed": false, + "pycharm": { + "name": "#%%\n" + } + } + }, { "cell_type": "markdown", "metadata": {},