Closed johanneskoester closed 1 month ago
The recent updates to the snakemake_executor_plugin_kubernetes
module enhance Kubernetes job execution through significant improvements to the ExecutorSettings
class. By introducing new attributes such as privileged
and persistent_volumes
, the changes provide users with greater flexibility in container configurations and streamline the management of Persistent Volume Claims (PVCs). This empowers users to tailor job execution with elevated permissions and effective volume handling.
Files | Change Summary |
---|---|
snakemake_executor_plugin_kubernetes/__init__.py |
Enhanced ExecutorSettings with privileged and persistent_volumes attributes for better container and volume configuration. Updated run_job method to properly handle volume mounts. |
tests/tests.py |
Removed specific Docker image assignment in get_remote_execution_settings , indicating a move towards a more stable deployment strategy for remote execution settings. |
sequenceDiagram
participant User
participant ExecutorSettings
participant Kubernetes
User->>ExecutorSettings: Set privileged and persistent volumes
ExecutorSettings->>Kubernetes: Validate and configure settings
Kubernetes->>Kubernetes: Create privileged container (if enabled)
Kubernetes->>Kubernetes: Mount persistent volumes (if defined)
Kubernetes-->>User: Execute job with configured settings
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@saulobejo in PR #9:
Summary by CodeRabbit
ExecutorSettings
class to allow for flexible volume management and container privilege settings, enabling users to customize Kubernetes job configurations more effectively.