From 72d5e1ed5e40af7e3d03ef3f5ef3b01e18b148fc Mon Sep 17 00:00:00 2001 From: Michal Szadkowski Date: Tue, 25 Jun 2024 12:09:30 +0200 Subject: [PATCH] remove comments --- .../README.md | 153 +----------------- 1 file changed, 1 insertion(+), 152 deletions(-) diff --git a/keps/2349-multikueue-external-custom-job-support/README.md b/keps/2349-multikueue-external-custom-job-support/README.md index c0d3660e19..d78f75e72c 100644 --- a/keps/2349-multikueue-external-custom-job-support/README.md +++ b/keps/2349-multikueue-external-custom-job-support/README.md @@ -41,91 +41,31 @@ tags, and then generate with `hack/update-toc.sh`. This KEP introduces the ability to create Multikueue Admission Check controllers with custom set of adapters. - - ## Motivation Many Kueue adaptors have company specific CustomResources. Kueue should give a possibility to manage such CustomResources across multiple clusters. - - ### Goals Give a possibility for external controllers to manage private CustomResources in a MultiKueue environment. - - ### Non-Goals - - ## Proposal - - Make multiple instances of Multikueue admission check controller able to run simultaneously with different set of Multkiueue adapters in one cluster at the same time. Provide a custom admission check controller name and adapters for Multikueue. Specified controller is used by workload, cluster and admission check MultiKueue reconcilers. ### User Stories - - #### Story 1 I would like to support the extension mechanism so that we can implement the MultiKueue controller for the custom / in-house Jobs. ### Constraints - Internally the MultiKueue uses a set of controller-runtime client, one for each MultiKueueCluster, the clients are used both by the MultiKueue internals and passed to the job adapters for the custom jobs synchronization. The clients cannot be share with an external controller and assuming the external controller can get the same connectivity to the worker clusters might be wrong, especially when we are taking about FS mounted kubeconfigs. @@ -134,18 +74,6 @@ Designing additional APIs to communicate between the internal and external contr ### Risks and Mitigations - - ## Design Details Provide a way to integrate external controllers to manage Jobs in the Kueue. @@ -212,69 +140,23 @@ func WithAdapter(adapter jobframework.MultiKueueAdapter) SetupOption { } ``` - - ### Test Plan - - [x] I/we understand the owners of the involved components may require updates to existing tests to make this code solid enough prior to committing the changes necessary to implement this enhancement. ##### Prerequisite testing updates - - #### Unit Tests - - Target is to keep same level or increase the coverage for all of the modified packages. Cover the critical part of newly created code. - - - ``: `` - `` #### Integration tests - - We are going to cover the following scenario: Setup 2 distinct MultiKueue Admission Checks over the same multicluster. @@ -283,51 +165,18 @@ Prove that 2 different MultiKueue controllers can manage different job types run ### Graduation Criteria - ## Implementation History * 2024-06-20 First draft - + ## Drawbacks - The proposed solution requires that another custom MultiKueue Admission Check is created aside from the one running for built-in Jobs. ## Alternatives - - 1. Dedicated API for MultiKueue communication between admission check controller and abstraction layer controller. 2. Don't do any code changes, a custom controller can: