Skip to content

Commit

Permalink
chores: Prepare for v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Altair-Bueno committed May 8, 2023
1 parent 92accdb commit 02761e1
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ refer to [Enable Kubernetes](https://docs.docker.com/desktop/kubernetes/#enable-
Once Kubernetes is running, open a terminal and run the following command:

```sh
kubectl apply -k github.com/ertis-research/kafka-ml/kustomize/local
kubectl apply -k "github.com/ertis-research/kafka-ml/kustomize/local?rev=v1.0"
```

This will install all the required components of Kafka-ML, plus Kafka on the
Expand Down
2 changes: 2 additions & 0 deletions kustomize/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Kubernetes. Notably the following versions are available:
| ------------ | --------------------------------------------------------- |
| `master` | `github.com/ertis-research/kafka-ml/kustomize/master` |
| `master-gpu` | `github.com/ertis-research/kafka-ml/kustomize/master-gpu` |
| `v1.0` | `github.com/ertis-research/kafka-ml/kustomize/v1.0` |
| `v1.0-gpu` | `github.com/ertis-research/kafka-ml/kustomize/v1.0-gpu` |
| `local` | `github.com/ertis-research/kafka-ml/kustomize/local` |

These versions should work with any Kubernetes compatible cluster, such as K8s
Expand Down
2 changes: 1 addition & 1 deletion kustomize/local/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ resources:
- resources/namespace.yaml
- resources/kafka-deployment.yaml
- resources/kafka-service.yaml
- ../master
- "../v1.0"

namespace: kafkaml

Expand Down
17 changes: 17 additions & 0 deletions kustomize/v1.0-gpu/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
resources:
- "../v1.0"

configMapGenerator:
- name: kafkaml-configmap
behavior: merge
literals:
- tensorflow.training.image=ertis/kafka-ml-tensorflow_model_training-gpu:v1.0
- tensorflow.inference.image=ertis/kafka-ml-tensorflow_model_inference-gpu:v1.0
- pytorch.training.image=ertis/kafka-ml-pytorch_model_training-gpu:v1.0
- pytorch.inference.image=ertis/kafka-ml-pytorch_model_inference-gpu:v1.0

images:
- name: ertis/kafka-ml-pthexecutor
newName: ertis/kafka-ml-pthexecutor-gpu
- name: ertis/kafka-ml-tfexecutor
newName: ertis/kafka-ml-tfexecutor-gpu
28 changes: 28 additions & 0 deletions kustomize/v1.0/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
resources:
- "../base"

configMapGenerator:
- name: kafkaml-configmap
behavior: merge
literals:
- tensorflow.training.image=ertis/kafka-ml-tensorflow_model_training:v1.0
- tensorflow.inference.image=ertis/kafka-ml-tensorflow_model_inference:v1.0
- pytorch.training.image=ertis/kafka-ml-pytorch_model_training:v1.0
- pytorch.inference.image=ertis/kafka-ml-pytorch_model_inference:v1.0

images:
- name: kafka-ml-backend
newName: ertis/kafka-ml-backend
newTag: v1.0
- name: kafka-ml-frontend
newName: ertis/kafka-ml-frontend
newTag: v1.0
- name: kafka-ml-kafka_control_logger
newName: ertis/kafka-ml-kafka_control_logger
newTag: v1.0
- name: kafka-ml-pthexecutor
newName: ertis/kafka-ml-pthexecutor
newTag: v1.0
- name: kafka-ml-tfexecutor
newName: ertis/kafka-ml-tfexecutor
newTag: v1.0

0 comments on commit 02761e1

Please sign in to comment.