mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-21 10:00:38 -04:00
Implement the RPSR controller that watches ResourcePoolStatusRequest objects and aggregates pool status from DRA drivers. Add the API server registry (strategy, storage), handwritten validation, RBAC bootstrap policy for the controller, kube-controller-manager wiring, table printer columns, and storage factory registration.
21 lines
885 B
Go
21 lines
885 B
Go
/*
|
|
Copyright The Kubernetes Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
// Package resourcepoolstatusrequest contains the controller for processing
|
|
// ResourcePoolStatusRequest objects. The controller watches for new requests
|
|
// and calculates pool status information by aggregating data from ResourceSlices
|
|
// and tracking allocations from ResourceClaims.
|
|
package resourcepoolstatusrequest
|