Feature/improve kernel structure#443
Draft
Edwardvaneechoud wants to merge 6 commits intomainfrom
Draft
Conversation
✅ Deploy Preview for flowfile-wasm canceled.
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces support for multiple Python kernel image flavors (base and ML) and enables per-kernel image selection, as well as tracking the exact Python package versions installed in each kernel. It also updates the Docker build and deployment workflows to build, tag, and publish these new kernel images separately from the main application images. The documentation and integration tests are updated accordingly to reflect these changes.
Kernel image flavors and per-kernel selection:
Added two new Docker images:
flowfile-kernel-base(base) andflowfile-kernel-ml(ML flavor with sklearn, xgboost, etc.), with independent versioning from the main application images. Users can now select which kernel image to use per kernel, or specify a custom image. The database schema is updated to supportimage_flavourandcustom_imagefields for kernels, with a migration to backfill existing kernels. [1] [2] [3] [4] [5]Docker Compose and integration test workflows are updated to support building, tagging, and using both
flowfile-kernel-baseandflowfile-kernel-mlimages locally. [1] [2] [3]Kernel package version tracking:
resolved_packagesJSON column to thekernelstable and model, to store the exact versions of user-requested Python packages after image build. This allows the UI to display the actual installed versions. [1] [2]CI/CD and Docker workflow improvements:
docker-publish.yml) is refactored to:amd64andarm64platforms.Documentation updates:
Database schema changes:
image_flavour,custom_image, andresolved_packagesfields in thekernelstable. [1] [2]These changes make the kernel runtime more flexible and transparent, and improve the reliability and clarity of Docker builds and deployments.