Skip to content

Commit

Permalink
Update kfctl-k8s-istio.md (kubeflow#1044)
Browse files Browse the repository at this point in the history
* Update kfctl-k8s-istio.md

Update script for quickly curling the latest release.
Similar to kustomize: https://github.com/kubernetes-sigs/kustomize/blob/master/docs/INSTALL.md#quickly-curl-the-latest

* Keep both versions for install instructions
  • Loading branch information
swiftdiaries authored and k8s-ci-robot committed Aug 16, 2019
1 parent 09e44c2 commit 0f480d3
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions content/docs/started/k8s/kfctl-k8s-istio.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,22 @@ If you don't have a provisioner, ensure that you have configured volume provisio

Follow these steps to deploy Kubeflow:

1. Download a `kfctl` release from the [Kubeflow releases page](https://github.com/kubeflow/kubeflow/releases/) and unpack it:

1. Download the latest `kfctl` release from the [Kubeflow releases page](https://github.com/kubeflow/kubeflow/releases/) and unpack it:
```
tar -xvf kfctl_<release tag>_<platform>.tar.gz
```

Script to download and unpack for Linux/MacOS:
```
opsys=linux # darwin for Mac
curl -s https://api.github.com/repos/kubeflow/kubeflow/releases/latest |\
grep browser_download |\
grep $opsys |\
cut -d '"' -f 4 |\
xargs curl -O -L && \
tar -zvxf kfctl_*_${opsys}.tar.gz
```

1. Run the following commands to set up and deploy Kubeflow. The code below includes an optional command to add the binary `kfctl` to your path. If you don't add the binary to your path, you must use the full path to the `kfctl` binary each time you run it.

Expand Down

0 comments on commit 0f480d3

Please sign in to comment.