MCPcopy Create free account
hub / github.com/NVIDIA/gpu-operator / createEmptyDirVolume

Function createEmptyDirVolume

controllers/object_controls.go:3503–3510  ·  view source on GitHub ↗
(volumeName string)

Source from the content-addressed store, hash-verified

3501}
3502
3503func createEmptyDirVolume(volumeName string) corev1.Volume {
3504 return corev1.Volume{
3505 Name: volumeName,
3506 VolumeSource: corev1.VolumeSource{
3507 EmptyDir: &corev1.EmptyDirVolumeSource{},
3508 },
3509 }
3510}
3511
3512func applyLicensingConfig(obj *appsv1.DaemonSet, config *gpuv1.ClusterPolicySpec, driverContainer *corev1.Container) {
3513 podSpec := &obj.Spec.Template.Spec

Callers 1

handleDevicePluginConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected