kubelet/pkg/apis
Patrick Ohly de4c476767 DRA kubelet: use unique protobuf package name
As mentioned in https://protobuf.dev/programming-guides/style, package names
"should be unique". For generated API pb files, Kubernetes uses
"k8s.io.api.<api group>.<version>". The same approach is now used for the
kubelet DRA v1beta1 API. This can be changed without a breaking change because
the API is still unreleased.

This avoids a conflict between the DevicePlugin and the DRA API when both get
used by kubelet:

    2024/11/10 12:51:40 proto: duplicate proto type registered: v1beta1.Device

The exact impact of that conflict is unknown but it seems better to
pro-actively avoid the problem.

Kubernetes-commit: 6c27e8dc8f789fd9daf11f6fc367adf586f727b5
2024-11-27 19:53:01 +00:00
..
credentialprovider Adding files generated from running make generate and update commands 2022-09-07 21:35:46 +00:00
deviceplugin Add CDI devices to device plugin API 2023-05-16 15:12:32 +02:00
dra DRA kubelet: use unique protobuf package name 2024-11-27 19:53:01 +00:00
pluginregistration Set proto go_package: kubelet plugin register API 2023-01-14 10:37:06 -08:00
podresources DRA kubelet: adapt to v1alpha3 API 2024-07-17 15:09:02 +02:00
stats/v1alpha1 Add support for memory pressure evictiong on Windows 2024-01-10 19:28:56 -08:00
well_known_labels.go Move pkg/kubelet/apis to k8s.io/kubelet/pkg/apis 2021-02-09 19:47:42 +01:00