CreateUpdatePodForSchedulingHandler is Fluid webhook's mutating handler who injects specs like node affinity, mount propagation and FUSE sidecars into a Pod. The name CreateUpdatePodForSchedulingHandler is confusing and it needs to be fixed to better indicate its role in Fluid.
Code Changes in this PR:
rename CreateUpdatePodForSchedulingHandler to FluidMutatingHandler
rename func AddScheduleInfoToPod() to func MutatePod()
some code file renaming and code re-organization
Ⅱ. Does this pull request fix one issue?
NONE
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/fluid-cloudnative/fluid/blob/master/OWNERS)~~ [cheyang]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
Ⅰ. Describe what this PR does
CreateUpdatePodForSchedulingHandler
is Fluid webhook's mutating handler who injects specs like node affinity, mount propagation and FUSE sidecars into a Pod. The nameCreateUpdatePodForSchedulingHandler
is confusing and it needs to be fixed to better indicate its role in Fluid.Code Changes in this PR:
CreateUpdatePodForSchedulingHandler
toFluidMutatingHandler
func AddScheduleInfoToPod()
tofunc MutatePod()
Ⅱ. Does this pull request fix one issue?
NONE
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews