feat: drop nvidia-device-plugin feature#60
feat: drop nvidia-device-plugin feature#60arnaldo2792 merged 1 commit intobottlerocket-os:developfrom
Conversation
| @@ -0,0 +1,75 @@ | |||
| //! Settings related to Amazon ECS | |||
There was a problem hiding this comment.
nit: this doc comment is not accurate
| nvidia: NvidiaDevicePluginSettings, | ||
| } | ||
|
|
||
| // |
There was a problem hiding this comment.
nit: should this just be a blank line?
|
The first line is empty to reset the |
| use std::convert::Infallible; | ||
|
|
||
| #[model(impl_default = true)] | ||
| pub struct KubeletDevicePluginV1 { |
There was a problem hiding this comment.
I'd prefer to expose this as settings.kubelet-device-plugins for consistency with our other plural settings clusters. So the type name should also be plural.
| pub struct KubeletDevicePluginV1 { | |
| pub struct KubeletDevicePluginsV1 { |
6973001 to
ab4d481
Compare
|
Forced push includes:
|
| @@ -0,0 +1,18 @@ | |||
| use bottlerocket_settings_sdk::{BottlerocketSetting, NullMigratorExtensionBuilder}; | |||
| use settings_extension_kubelet_device_plugin::KubeletDevicePluginsV1; | |||
There was a problem hiding this comment.
| use settings_extension_kubelet_device_plugin::KubeletDevicePluginsV1; | |
| use settings_extension_kubelet_device_plugins::KubeletDevicePluginsV1; |
Use a setings extension instead of a cargo feature for the kubelet device plugins API Signed-off-by: Arnaldo Garcia Rincon <agarrcia@amazon.com>
ab4d481 to
25b5ea5
Compare
|
(forced push renames |
|
I confirmed in a local build that |
Issue #, if available:
N / A
Description of changes:
Use a setings extension instead of a cargo feature for the kubelet device plugins API. See #57 (comment) for details.
Testing:
As part of bottlerocket-os/bottlerocket-core-kit#132 and bottlerocket-os/bottlerocket#4182
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.