Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Commit

Permalink
Distributed Workloads v0.1.0 Release
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Asthana <anishasthana1@gmail.com>
  • Loading branch information
anishasthana committed Aug 11, 2023
1 parent 59d87c2 commit d5d1ff5
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 18 deletions.
10 changes: 5 additions & 5 deletions codeflare-stack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ Integration of this stack into the Open Data Hub is owned by the Distributed Wor
Group. See [this page](https://github.com/opendatahub-io/opendatahub-community/tree/master/wg-distributed-workloads)
for further details and how to get in touch.

### Compatibilty Matrix
### Compatibility Matrix

| Component | Version |
|------------------------------|---------|
| CodeFlare Operator | v0.0.4 |
| Multi-Cluster App Dispatcher | v1.31.0 |
| CodeFlare-SDK | v0.4.4 |
| InstaScale | v0.0.4 |
| CodeFlare Operator | v0.1.0 |
| Multi-Cluster App Dispatcher | v1.33.0 |
| CodeFlare-SDK | v0.6.1 |
| InstaScale | v0.0.6 |
| KubeRay | v0.5.0 |

## Quick Start
Expand Down
17 changes: 9 additions & 8 deletions ray/operator/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

configMapGenerator:
- name: codeflare-stack-config
- name: ray-config
envs:
- params.env
configurations:
Expand All @@ -12,20 +12,21 @@ vars:
- name: namespace
objref:
kind: ConfigMap
name: codeflare-stack-config
name: ray-config
apiVersion: v1
fieldref:
fieldpath: data.namespace
- name: odh-kuberay-operator-controller-image
objref:
kind: ConfigMap
name: ray-config
apiVersion: v1
fieldref:
fieldpath: data.odh-kuberay-operator-controller-image

resources:
- ../crd
- ../rbac
- ../manager
- ../prometheus
- ../scc

images:
- name: kuberay/operator
newName: quay.io/opendatahub/kuberay-operator
newTag: v0.5.0

1 change: 1 addition & 0 deletions ray/operator/base/params.env
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
namespace=opendatahub
odh-kuberay-operator-controller-image=quay.io/opendatahub/kuberay-operator:v0.5.0
4 changes: 3 additions & 1 deletion ray/operator/base/params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@ varReference:
- path: subjects[]/namespace
kind: ClusterRoleBinding
- path: users[]
kind: SecurityContextConstraints
kind: SecurityContextConstraints
- path: spec/template/spec/containers[]/image
kind: Deployment
4 changes: 1 addition & 3 deletions ray/operator/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ spec:
containers:
- command:
- /manager
# args:
# - --enable-leader-election
image: kuberay/operator
image: $(odh-kuberay-operator-controller-image)
ports:
- name: http
containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion tests/resources/codeflare-stack/mnist_ray_mini.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"outputs": [],
"source": [
"# Create our cluster and submit appwrapper\n",
"cluster = Cluster(ClusterConfiguration(namespace='opendatahub', name='mnisttest', min_worker=2, max_worker=2, min_cpus=2, max_cpus=2, min_memory=4, max_memory=4, gpu=0, instascale=False))"
"cluster = Cluster(ClusterConfiguration(namespace='opendatahub', name='mnisttest', num_workers=2, min_cpus=2, max_cpus=2, min_memory=4, max_memory=4, num_gpus=0, instascale=False))"
]
},
{
Expand Down

0 comments on commit d5d1ff5

Please sign in to comment.