https://github.com/vpavlin/run-kf-ocp4
https://github.com/vpavlin/run-kf-ocp4
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vpavlin/run-kf-ocp4
- Owner: vpavlin
- License: gpl-3.0
- Created: 2019-10-14T08:10:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-14T15:42:50.000Z (over 5 years ago)
- Last Synced: 2025-01-23T03:45:06.970Z (4 months ago)
- Size: 23.4 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# run-kf-ocp4
This repository contains work done to bring Kubeflow closer to running on OpenShift without relaxing OpenShift security. After running the `generate.yml` Ansible playbook you will find tweaked manifests in `manifests/` directory. It does not contain all Kubeflow components, but the list will grow over time.
Look into the [Docs](./docs) directory for more information on the changes made.
## How to generate manifests
```
ansible generate.yml -e namespace=kf-on-openshift
```The playbook will download `kfctl` and `kustomize` to `./bin` directory to make sure versions are consistent, then it uses `kfctl` to generate all the Kubeflow deployment manifests into `kubeflow` directory and after that it proceeds to manipulate those manifest to follow OpenShift best practices. Resulting manifests for deployment can be found in directory `manifests/`.
We use Kustomize to mangle the Kubeflow manifest to have reproducible and consistent way of generating the manifests. This should also help with providing some of the changes as PRs in Kubeflow project itself
You can deploy the resulting manifests by running
```
oc apply -f manifests/
```## How to clean up
```
ansible cleanup.yml
```The above command will remove all the downloaded and generated files in case you need to start from scratch