Skip to content

Kubelet code improvements and cleanups#16

Merged
pohly merged 3 commits into
pohly:dynamic-resource-allocationfrom
bart0sh:PR010-pohly-dynamic-resource-allocation
Aug 19, 2022
Merged

Kubelet code improvements and cleanups#16
pohly merged 3 commits into
pohly:dynamic-resource-allocationfrom
bart0sh:PR010-pohly-dynamic-resource-allocation

Conversation

@bart0sh

@bart0sh bart0sh commented Aug 19, 2022

Copy link
Copy Markdown
  • used sets instead of maps for the set of PodUIDs
  • fixed lint findings
  • got rid of unused leftovers from Device Manager code

Used sets API to store UIDs of pods referencing resource claims
in the DRA Manager cache.
)

// ManagerImpl is the structure in charge of managing Device Plugins.
// ManagerImpl is the structure in charge of managing DRA resource Plugins.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"resource" seems redundant here. "DRA" already contains that word.

@pohly pohly left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks all reasonable to me. One nit, but we don't need to fix that now.

@pohly pohly merged commit e72549d into pohly:dynamic-resource-allocation Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants