Skip to content

Commit 0f480d3

Browse files
swiftdiariesk8s-ci-robot
authored andcommitted
Update kfctl-k8s-istio.md (#1044)
* 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
1 parent 09e44c2 commit 0f480d3

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

content/docs/started/k8s/kfctl-k8s-istio.md

+13-2
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,22 @@ If you don't have a provisioner, ensure that you have configured volume provisio
1515

1616
Follow these steps to deploy Kubeflow:
1717

18-
1. Download a `kfctl` release from the [Kubeflow releases page](https://github.com/kubeflow/kubeflow/releases/) and unpack it:
19-
18+
1. Download the latest `kfctl` release from the [Kubeflow releases page](https://github.com/kubeflow/kubeflow/releases/) and unpack it:
2019
```
2120
tar -xvf kfctl_<release tag>_<platform>.tar.gz
2221
```
22+
23+
Script to download and unpack for Linux/MacOS:
24+
```
25+
opsys=linux # darwin for Mac
26+
27+
curl -s https://api.github.com/repos/kubeflow/kubeflow/releases/latest |\
28+
grep browser_download |\
29+
grep $opsys |\
30+
cut -d '"' -f 4 |\
31+
xargs curl -O -L && \
32+
tar -zvxf kfctl_*_${opsys}.tar.gz
33+
```
2334
2435
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.
2536

0 commit comments

Comments
 (0)