Skip to content

Commit

Permalink
Merge pull request #13 from davidmirror-ops/kcdmx-2024
Browse files Browse the repository at this point in the history
Adds reqs file
  • Loading branch information
davidmirror-ops authored Feb 24, 2024
2 parents 9bbb3c2 + e77d755 commit aac38a1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
15 changes: 10 additions & 5 deletions kcdmx2024/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@ helm repo add flyteorg https://flyteorg.github.io/flyte
```bash
helm install flyte-binary flyteorg/flyte-binary --values values.yaml -n flyte
```
6. In three separate Terminal windows, start port-forwarding sessions to the following components:
6. Install the example workflow's dependencies:
```bash
pip install -r requirements.txt
```

7. In three separate Terminal windows, start port-forwarding sessions to the following components:

Web console
```
Expand All @@ -51,7 +56,7 @@ minio (blob storage)
```
kubectl -n flyte port-forward service/minio 9000:9000
```
7. Initialize the CLI config:
8. Initialize the CLI config:
```bash
flytectl config init
```
Expand All @@ -63,7 +68,7 @@ admin:
authType: Pkce
```
8. Add and entry to your local DNS file so your `pyflyte` client is able to resolve the `minio` service name:
9. Add and entry to your local DNS file so your `pyflyte` client is able to resolve the `minio` service name:
```bash
sudo vi /etc hosts
Expand All @@ -75,13 +80,13 @@ sudo vi /etc hosts
127.0.0.1 minio.flyte.svc.cluster.local
```

9. Download this demo workflow or simply start developing your own:
10. Download this demo workflow or simply start developing your own:

``` bash
curl -sl https://raw.githubusercontent.com/davidmirror-ops/flyte-the-hard-way/main/docs/on-premises/microk8s/demo.py > demo.py
```

10. Submit the workflow:
11. Submit the workflow:
``` bash
pyflyte run --remote demo.py wf
```
Expand Down
2 changes: 2 additions & 0 deletions kcdmx2024/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pandas
scikit-learn

0 comments on commit aac38a1

Please sign in to comment.