-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Integration tests for set of Seldon rocks (#150)
* feat: integration tests for seldon rocks #133 Summary of changes: - Added integration test for Seldon prepackages servers: sklearn v1 and v2, xgboost v1 and v2, mlflowserver v1. - Bump resources for mlflowserver tests. - Updated integration tests with server names to retrieve proper image name for testing. - Added test for removal of workload deployed configmap. - Updated workflow to remove pin of Juju agent version and use of 2.9/stable channel. - Reverted back to using remove_application() from model instead of subprocess.
- Loading branch information
Showing
7 changed files
with
262 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# https://docs.seldon.io/projects/seldon-core/en/latest/servers/mlflow.html | ||
apiVersion: machinelearning.seldon.io/v1 | ||
kind: SeldonDeployment | ||
metadata: | ||
name: mlflow | ||
spec: | ||
name: wines | ||
resources: | ||
requests: | ||
memory: "64Mi" | ||
cpu: "250m" | ||
limits: | ||
memory: "128Mi" | ||
cpu: "250m" | ||
protocol: v2 # Activate the V2 protocol | ||
predictors: | ||
- graph: | ||
children: [] | ||
implementation: MLFLOW_SERVER | ||
modelUri: gs://seldon-models/mlflow/elasticnet_wine_1.8.0 | ||
name: classifier | ||
name: default | ||
replicas: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# https://docs.seldon.io/projects/seldon-core/en/latest/servers/mlflow.html | ||
apiVersion: machinelearning.seldon.io/v1 | ||
kind: SeldonDeployment | ||
metadata: | ||
name: mlflow | ||
spec: | ||
name: wines | ||
resources: | ||
requests: | ||
memory: "64Mi" | ||
cpu: "500m" | ||
limits: | ||
memory: "128Mi" | ||
cpu: "500m" | ||
predictors: | ||
- graph: | ||
children: [] | ||
implementation: MLFLOW_SERVER | ||
modelUri: gs://seldon-models/mlflow/elasticnet_wine_1.8.0 | ||
name: classifier | ||
name: default | ||
replicas: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# https://docs.seldon.io/projects/seldon-core/en/latest/servers/xgboost.html | ||
apiVersion: machinelearning.seldon.io/v1 | ||
kind: SeldonDeployment | ||
metadata: | ||
name: xgboost | ||
spec: | ||
name: iris-predict | ||
resources: | ||
requests: | ||
memory: "64Mi" | ||
cpu: "250m" | ||
limits: | ||
memory: "128Mi" | ||
cpu: "250m" | ||
protocol: v2 # Activate the V2 protocol | ||
predictors: | ||
- graph: | ||
children: [] | ||
implementation: XGBOOST_SERVER | ||
modelUri: gs://seldon-models/xgboost/iris | ||
name: classifier | ||
name: default | ||
replicas: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# https://docs.seldon.io/projects/seldon-core/en/latest/servers/xgboost.html | ||
apiVersion: machinelearning.seldon.io/v1 | ||
kind: SeldonDeployment | ||
metadata: | ||
name: xgboost | ||
spec: | ||
name: iris | ||
resources: | ||
requests: | ||
memory: "64Mi" | ||
cpu: "250m" | ||
limits: | ||
memory: "128Mi" | ||
cpu: "250m" | ||
predictors: | ||
- graph: | ||
children: [] | ||
implementation: XGBOOST_SERVER | ||
modelUri: gs://seldon-models/xgboost/iris | ||
name: classifier | ||
name: default | ||
replicas: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.