Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds reqs file #13

Merged
merged 1 commit into from
Feb 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading