HAMi icon indicating copy to clipboard operation
HAMi copied to clipboard

Proposal: Replace MutatingAdmissionWebhook with MutatingAdmissionPolicy for Pod Scheduler Assignment

Open FouoF opened this issue 5 months ago • 5 comments

What would you like to be added:

Add a MutatingAddmissionPolicy to replace MutatingAdmissionWebhook for user using Kubernetes with supported version(> 1.32).

What type of PR is this?

/kind feature

What this PR does / why we need it:

The advantages of MutatingAdmissionPolicy can be referenced from KEP-3962 . TLDR: Lower latency and more reliable. And the scheduler name assignment is a typical usage of MutatingAdmissionPolicy.

Does this PR introduce a user-facing change?:

We can detect the kubernetes version automatically to choose MutatingAdmissionWebhook or MutatingAddmissionPolicy. Also we can allow user to manually config whether to use MutatingAddmissionPolicy.

FouoF avatar Jul 10 '25 09:07 FouoF