Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoOMaia committed Nov 28, 2023
1 parent ca977b5 commit 3c609ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions kubernetes/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ spec:
- name: cloud-ml-1
image: leoomaia/ml_cloud
imagePullPolicy: Always
ports:
- containerPort: 32208
volumeMounts:
- name: persistent-volume
mountPath: /app/models
Expand Down
5 changes: 3 additions & 2 deletions kubernetes/service.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apiVersion: v1

kind: Service
metadata:
name: playlist-recommender-ml
Expand All @@ -7,5 +8,5 @@ spec:
app: playlist-recommender
ports:
- protocol: TCP
port: 8008
targetPort: 8008
port: 32196
targetPort: 32196

0 comments on commit 3c609ad

Please sign in to comment.