TESK icon indicating copy to clipboard operation
TESK copied to clipboard

feat: create TES task as k8s job

Open JaeAeich opened this issue 7 months ago • 3 comments

PS: This is WIP, consider this PR for POC, this maybe/will be further broken down into smaller PR once a concensus on code is reached and everthing starts to work.

Summary by Sourcery

This pull request introduces the ability to create TES tasks as Kubernetes jobs. It includes a new Kubernetes client wrapper, a converter for TES tasks to Kubernetes jobs, and updates to the deployment configuration to support these new features.

  • New Features:
    • Introduced a Kubernetes client wrapper to abstract interactions with the Kubernetes API.
    • Added functionality to convert TES tasks to Kubernetes jobs using a new converter module.
    • Implemented a new module for creating TES tasks, including the creation of Kubernetes jobs and config maps.
  • Enhancements:
    • Updated the deployment configuration to include a taskmaster template for Kubernetes jobs.
    • Enhanced the CreateTask function to convert TES tasks to Kubernetes jobs and print the resulting job object.
  • Deployment:
    • Added a new taskmaster template and environment properties to the deployment configuration.

JaeAeich avatar Jul 21 '24 10:07 JaeAeich