Skip to content

Commit

Permalink
chore: Bump up model-server to v0.7.11-2
Browse files Browse the repository at this point in the history
This commit bumps up model-server to `v0.7.11-2`

Signed-off-by: vprashar2929 <[email protected]>
  • Loading branch information
vprashar2929 committed Aug 22, 2024
1 parent e116cc7 commit 436847b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions pkg/components/estimator/estimator.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (

const (
// NOTE: update tests/images.yaml when changing this image
StableImage = "quay.io/sustainable_computing_io/kepler_model_server:v0.7.11"
StableImage = "quay.io/sustainable_computing_io/kepler_model_server:v0.7.11-2"
waitForSocketCommand = "until [ -e /tmp/estimator.sock ]; do sleep 1; done && %s"
)

Expand Down Expand Up @@ -76,8 +76,8 @@ func Container(image string) corev1.Container {
ImagePullPolicy: corev1.PullIfNotPresent,
Name: "estimator",
VolumeMounts: mounts,
Command: []string{"python3.10"},
Args: []string{"-u", "src/estimate/estimator.py"},
Command: []string{"estimator"},
Args: []string{"-l", "info"},
}
}

Expand Down
6 changes: 3 additions & 3 deletions pkg/components/modelserver/modelserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const (

const (
defaultModelServer = "http://%s.%s.svc.cluster.local:%d"
StableImage = "quay.io/sustainable_computing_io/kepler_model_server:v0.7.11"
StableImage = "quay.io/sustainable_computing_io/kepler_model_server:v0.7.11-2"
)

var (
Expand Down Expand Up @@ -86,8 +86,8 @@ func NewDeployment(deployName string, ms *v1alpha1.InternalModelServerSpec, name
Name: "http",
}},
VolumeMounts: mounts,
Command: []string{"python3.10"},
Args: []string{"-u", "src/server/model_server.py"},
Command: []string{"model-server"},
Args: []string{"-l", "info"},
}}

return &appsv1.Deployment{
Expand Down
2 changes: 1 addition & 1 deletion tests/images.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
images:
- component: 'model-server'
image: 'quay.io/sustainable_computing_io/kepler_model_server:v0.7.11'
image: 'quay.io/sustainable_computing_io/kepler_model_server:v0.7.11-2'

0 comments on commit 436847b

Please sign in to comment.