Skip to content

Commit

Permalink
feat: Integrate ROCKs into charms (#398)
Browse files Browse the repository at this point in the history
* Integrate ROCKs into charms
* Modify `kfp-ui` command according to ROCK
  • Loading branch information
orfeas-k authored Jan 22, 2024
1 parent 3c51c1e commit 34a1087
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charms/kfp-api/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resources:
oci-image:
type: oci-image
description: Backing OCI image
upstream-source: gcr.io/ml-pipeline/api-server:2.0.3
upstream-source: charmedkubeflow/api-server:2.0.3-e037d33
requires:
mysql:
interface: mysql
Expand Down
2 changes: 1 addition & 1 deletion charms/kfp-persistence/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resources:
oci-image:
type: oci-image
description: Backing OCI image
upstream-source: gcr.io/ml-pipeline/persistenceagent:2.0.3
upstream-source: charmedkubeflow/persistenceagent:2.0.3-a3714a9
requires:
kfp-api:
interface: k8s-service
Expand Down
2 changes: 1 addition & 1 deletion charms/kfp-schedwf/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ resources:
oci-image:
type: oci-image
description: Backing OCI image
upstream-source: gcr.io/ml-pipeline/scheduledworkflow:2.0.3
upstream-source: charmedkubeflow/scheduledworkflow:2.0.3-7d6d3e4
2 changes: 1 addition & 1 deletion charms/kfp-ui/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resources:
ml-pipeline-ui:
type: oci-image
description: OCI image for ml-pipeline-ui
upstream-source: gcr.io/ml-pipeline/frontend:2.0.3
upstream-source: charmedkubeflow/frontend:2.0.3-d4ac42b
requires:
object-storage:
interface: object-storage
Expand Down
5 changes: 4 additions & 1 deletion charms/kfp-ui/src/components/pebble_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ def get_layer(self) -> Layer:
self.service_name: {
"override": "replace",
"summary": "entry point for ml-pipeline-ui",
"command": "node dist/server.js ../client/ 3000", # Must be a string
# command should be updated each time we switch from upstream to ROCK image
# - upsstream: "command": "node dist/server.js ../client/ 3000"
# - rock: "command": "node /server/dist/server.js /client/ 3000"
"command": "node /server/dist/server.js /client/ 3000", # Must be a string
"startup": "enabled",
# TODO: are these still the correct settings?
"environment": {
Expand Down
2 changes: 1 addition & 1 deletion charms/kfp-viewer/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ resources:
kfp-viewer-image:
type: oci-image
description: OCI image for KFP Viewer
upstream-source: gcr.io/ml-pipeline/viewer-crd-controller:2.0.3
upstream-source: charmedkubeflow/viewer-crd-controller:2.0.3-d89d9fc
2 changes: 1 addition & 1 deletion charms/kfp-viz/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resources:
oci-image:
type: oci-image
description: OCI image for ml-pipeline-visualizationserver
upstream-source: gcr.io/ml-pipeline/visualization-server:2.0.3
upstream-source: charmedkubeflow/visualization-server:2.0.3-8169d0c
provides:
kfp-viz:
interface: k8s-service
Expand Down

0 comments on commit 34a1087

Please sign in to comment.