Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dra kubelet: publish NodeResourceSlices
The information is received from the DRA driver plugin through a new gRPC streaming interface. This is backwards compatible with old DRA driver kubelet plugins, their gRPC server will return "not implemented" and that can be handled by kubelet. Therefore no API break is needed. However, DRA drivers need to be updated because the Go API changed. They can return status.New(codes.Unimplemented, "no node resource support").Err() if they don't support the new ListAndWatchResources method and structured parameters. The controller in kubelet then synchronizes this information from the driver with NodeResourceSlice objects, creating, updating and deleting them as needed. Kubernetes-commit: d59676a54531b6e135c0fbbe6b51c530f1150653
- Loading branch information