-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration of ROCK images into Seldon Core Operator #133
Comments
#133 Summary of changes: - Added integration test for Seldon prepackages servers: xgboost v1 and v2, mlflowserver v1. - Remove tests fails intermittently.
#133 Summary of changes: - Bump resources for mlflowserver tests.
#133 Summary of changes: - Use lightkube for deletion and testing. - Verify remove test when juju/python-libjuju#877 is resolved.
#133 Summary of changes: - Updated integration tests with server names to retrieve proper image name for testing. - Added test for removal of workload deployed configmap.
canonical/seldon-core-operator#133 Summary of changes: - Updated rockcraft.yaml with new run-user option to run as non-root. - Updated import procedure. - Tested with integration tests on the branch.
canonical/seldon-core-operator#133 Summary of changes: - Updated rockcraft.yaml with new run-user option to run as non-root. - Updated import procedure.
* feat: sklearnserver rock integration Summary of changes: - Added ROCK integrity tests. - Updated ROCK image definition. - Added tox with unit and integration tests. - Addressed review comments. - Modified to run tests. - Added handling of jinja2 templating - Updated tox.ini to properly update configmap template. - Updated rockcraft.yaml with new run-user option to run as non-root. canonical/seldon-core-operator#133 - Updated import procedure. - Tested with integration tests on the branch. - Reverted to use of shell commands and `yq` instead of CheckRock test class from chisme package. - Remove chisme package NOTE: Use of bash shell commands significantly reduces maintability of tox.ini ACK: @kimwnasptd
* 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.
canonical/seldon-core-operator#133 Summary of changes: - Created rockcraft file for mlsever-sklearn rock. - Added unit test. - Added tox.ini
canonical/seldon-core-operator#133 Summary of changes: - mlserver-xgboost rockcraft - Unit tests. - tox.ini ready for integration tests.
canonical/seldon-core-operator#133 Summary of changes: - Created rockcraft file for mlserver-mlflow rock according to best practices spec. - Added unit test. - Added tox.ini
canonical/seldon-core-operator#133 Summary of changes: - Created rockcraft file for mlserver-xgboost rock according to best practices spec. - Added unit test. - Added tox.ini
* feat: mlserver-sklearn rock canonical/seldon-core-operator#133 Summary of changes: - Created rockcraft file for mlsever-sklearn rock. - Added unit test. - Added tox.ini - Use variable ROCK_RUNTIME to simplify development. - Modified rockcraft.yaml to use environment variables in services instead of calling export in command line.
#133 Summary of changes: - Added integration tests files. - Updated tests. - Updated config map to point to published rock.
canonical/seldon-core-operator#133 Summary of changes: - Updated rockcraft.yaml to generate ROCK that can be started in Seldon Deployment.
canonical/seldon-core-operator#133 Summary of changes: - Initial rockcraft file and tox.ini
* feat: mlserver-xgboost rock canonical/seldon-core-operator#133 Summary of changes: - mlserver-xgboost rockcraft - Unit tests. - tox.ini ready for integration tests. --------- Co-authored-by: Andrew Scribner <[email protected]>
* feat: mlserver-sklearn rock canonical/seldon-core-operator#133 Summary of changes: - Created rockcraft file for mlsever-sklearn rock. - Added unit test. - Added tox.ini - Use variable ROCK_RUNTIME to simplify development. - Modified rockcraft.yaml to use environment variables in services instead of calling export in command line. - Updatde rockcraft yaml to ensure proper startup of service.
* feat: mlserver-mlflow rock canonical/seldon-core-operator#133 Summary of changes: - Created rockcraft file for mlserver-mlflow rock according to best practices spec. - Added unit test. - Added tox.ini - Updated command to execute properly in Seldon Deployment environment. --------- Co-authored-by: Andrew Scribner <[email protected]>
#133 Integration tests for mlsever-mlflow. Similar to other mlserver-* tests. Summary of changes: - Added integration tests files. - Updated tests. - Updated config map to point to published rock.
* feat: mlserver-huggingface rock canonical/seldon-core-operator#133 Summary of changes: - Created rockcraft file for mlserver-xgboost rock according to best practices spec. - Added unit test. - Added tox.ini - Updated rockcraft.yaml to generate ROCK that can be started in Seldon Deployment. - Upstream version upgrade due to breaking changes: Optimum 1.7 changed the import name from `SUPPORTED_TASKS` to `ORT_SUPPORTED_TASKS`. - Update mlserver-huggingface/tox.ini --------- Co-authored-by: Andrew Scribner <[email protected]>
* feat: integration of mlserver-xgboost rock Details are in #133 Summary of changes: - Added reference to published mlserver-xgboost rock to configmap. - Updated sklearn test - Updated integration test response data
Adding ROCKs to weekly CVE scan is part of ROCK delivery. Details are in canonical/seldon-core-operator#133 Summary of changes: Added Seldon ROCKs to weekly scan.
Recording status of s2i.
And those script do exist in the ROCK container:
|
Add label to existin container to enable s2i to find scripts:
Problem: openshift/source-to-image#475 |
Update ROCK:
|
It is possible to build S2I base container image using
This will create a container image suitable to be used in S2I build process describe in Seldon documentation: https://docs.seldon.io/projects/seldon-core/en/latest/python/python_wrapping_s2i.html This method does not really produce an S2I base ROCK image based on |
* feat: initial commit canonical/seldon-core-operator#133 Summary of changes: - Initial rockcraft file and tox.ini - Added organize. - Finalized bazel build. - Install python3.8 via packages - Uncommented cleanup - Added tensorflow-serving rock to ci
Description
Integration of ROCK images.
https://github.com/canonical/seldonio-rocks
The following ROCK images need to be integrated into Seldon Core Operator:
Charm managed:
Workload managed:
seldonio/mlserver-slimseldonio-rocks/xgboostserver v1seldonio-rocks/seldon-core-s2i-python36 (could be drop candidate)seldonio-rocks/seldon-core-s2i-python37 (could be drop candidate)seldonio-rocks/seldon-core-s2i-python36-gpu (could be drop candidate)seldonio-rocks/seldon-core-s2i-python37-gpu (could be drop candidate)Design
Design of how ROCKs are built, tested and integrated is captured in related specification (KF-044).
Main design points for Seldon ROCKs:
Testing
Existing integration tests are to be re-used to test functionality of new ROCK images.
Follow Seldon documenation for testing:
https://docs.seldon.io/projects/seldon-core/en/latest/reference/apis/index.html
https://docs.seldon.io/projects/seldon-core/en/latest/nav/config/servers.html
Integration tests
Implementation
XGBOOST_SERVER: seldonio-rocks/xgboostserver (seldon)TEMPO_SERVER-V2: seldonio/mlserver-slimXGBOOST_SERVER: seldonio-rocks/xgboostserver (seldon)TEMPO_SERVER-V2: seldonio/mlserver-slimXGBOOST_SERVER: seldonio-rocks/xgboostserver (seldon)TEMPO_SERVER-V2: seldonio/mlserver-slimXGBOOST_SERVER: seldonio-rocks/xgboostserver (seldon)TEMPO_SERVER-V2: seldonio/mlserver-slimThe text was updated successfully, but these errors were encountered: