Merge pull request #118209 from pohly/dra-pre-scheduled-pods

dra: pre-scheduled pods
This commit is contained in:
Kubernetes Prow Robot
2023-07-13 14:43:37 -07:00
committed by GitHub
8 changed files with 545 additions and 141 deletions

View File

@@ -356,6 +356,7 @@ func startResourceClaimController(ctx context.Context, controllerContext Control
klog.FromContext(ctx),
controllerContext.ClientBuilder.ClientOrDie("resource-claim-controller"),
controllerContext.InformerFactory.Core().V1().Pods(),
controllerContext.InformerFactory.Resource().V1alpha2().PodSchedulingContexts(),
controllerContext.InformerFactory.Resource().V1alpha2().ResourceClaims(),
controllerContext.InformerFactory.Resource().V1alpha2().ResourceClaimTemplates())
if err != nil {