kubernetes/cmd/kubelet/app
Patrick Ohly d59676a545 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.
2024-03-07 22:22:13 +01:00
..
options *: promote KubeletConfigDropInDir feature to beta 2024-03-01 15:00:50 -05:00
auth.go API Server Changes 2022-03-07 09:37:01 -05:00
init_others.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
init_windows_test.go [kubelet] Allow priority to be set for kubelet process on Windows 2020-11-03 01:18:59 +05:30
init_windows.go fix: Remove dependency on github.com/pkg/errors 2022-11-09 09:54:34 +08:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
plugins_providerless.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
plugins_providers.go chore: Cleanup in-tree credential provider azure and cloud provider azure 2024-01-20 15:18:31 +08:00
plugins.go removal of glusterfs in-tree driver code from the source 2022-09-13 20:11:50 +05:30
server_bootstrap_test.go replace deprecated io/ioutil with os and io for cmd 2022-02-01 13:59:41 +08:00
server_linux.go Log StructuredLog: spelling formatting 2022-04-26 17:04:06 +08:00
server_others.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
server_test.go cmd/kubelet: fix overriding default KubeletConfig fields in drop-in configs if not set 2023-11-03 17:48:29 -04:00
server_unsupported.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
server_windows.go Fixing logic for kubelet permissions check on windows 2022-03-24 14:57:08 -07:00
server.go dra kubelet: publish NodeResourceSlices 2024-03-07 22:22:13 +01:00