Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

NVIDIA device plugin limits and requests #3497

Merged
merged 1 commit into from
Jul 18, 2018

Conversation

sozercan
Copy link
Member

@sozercan sozercan commented Jul 18, 2018

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #3481

@ghost ghost assigned sozercan Jul 18, 2018
@ghost ghost added the in progress label Jul 18, 2018
@jackfrancis
Copy link
Member

Thank you @sozercan!

Copy link
Member

@jackfrancis jackfrancis left a comment

Choose a reason for hiding this comment

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

lgtm

@jackfrancis jackfrancis merged commit d1ce4e3 into Azure:master Jul 18, 2018
@ghost ghost removed the in progress label Jul 18, 2018
@sozercan sozercan deleted the nvidialimits branch July 18, 2018 21:59
@@ -975,6 +975,30 @@ func (t *TemplateGenerator) getTemplateFuncMap(cs *api.ContainerService) templat
} else {
val = cloudSpecConfig.KubernetesSpecConfig.NVIDIAImageBase + KubeConfigs[k8sVersion][NVIDIADevicePluginAddonName]
}
case "kubernetesNVIDIADevicePluginCPURequests":
if aC > -1 {
Copy link
Member

Choose a reason for hiding this comment

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

I think this should be nC, instead of aC.

nC := getAddonContainersIndexByName(nvidiaDevicePluginAddon.Containers, NVIDIADevicePluginAddonName)

Copy link
Member

Choose a reason for hiding this comment

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

indeed, will file a quick fix, good find!

@@ -40,6 +40,13 @@ spec:
containers:
- image: <kubernetesNVIDIADevicePluginSpec>
name: nvidia-device-plugin-ctr
Copy link
Member

Choose a reason for hiding this comment

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

This name needs to match NVIDIADevicePluginAddonName, which should be nvidia-device-plugin

Copy link
Member

Choose a reason for hiding this comment

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

@sozercan @ritazh what's the action item here? Do we change the const string value, or is this daemonset manifest broken (i.e., change the name here)?

Copy link
Member Author

Choose a reason for hiding this comment

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

i think we can just change the name here to nvidia-device-plugin

kkmsft pushed a commit to kkmsft/acs-engine that referenced this pull request Jul 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nvidia-device-plugin-daemonset pods w/ high memory + CPU
3 participants