Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions aks-node-controller/parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ func getCSEEnv(config *aksnodeconfigv1.Configuration) map[string]string {
"CONFIG_GPU_DRIVER_IF_NEEDED": fmt.Sprintf("%v", config.GetGpuConfig().GetConfigGpuDriver()),
"ENABLE_GPU_DEVICE_PLUGIN_IF_NEEDED": fmt.Sprintf("%v", config.GetGpuConfig().GetGpuDevicePlugin()),
"MANAGED_GPU_EXPERIENCE_AFEC_ENABLED": fmt.Sprintf("%v", config.GetGpuConfig().GetManagedGpuExperienceAfecEnabled()),
"ENABLE_MANAGED_GPU": fmt.Sprintf("%v", config.GetGpuConfig().GetEnableManagedGpu()),
"TELEPORTD_PLUGIN_DOWNLOAD_URL": config.GetTeleportConfig().GetTeleportdPluginDownloadUrl(),
"CREDENTIAL_PROVIDER_DOWNLOAD_URL": config.GetKubeBinaryConfig().GetLinuxCredentialProviderUrl(),
"CONTAINERD_VERSION": config.GetContainerdConfig().GetContainerdVersion(),
Expand Down
32 changes: 22 additions & 10 deletions aks-node-controller/pkg/gen/aksnodeconfig/v1/gpu_config.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions aks-node-controller/proto/aksnodeconfig/v1/gpu_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ message GpuConfig {

// Specifies whether the managed GPU experience AFEC (Azure Feature Engineering Configuration) is enabled.
bool managed_gpu_experience_afec_enabled = 6;

// Specifies whether managed GPU is enabled.
bool enable_managed_gpu = 7;
}
3 changes: 3 additions & 0 deletions pkg/agent/baker.go
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,9 @@ func getContainerServiceFuncMap(config *datamodel.NodeBootstrappingConfiguration
"IsManagedGPUExperienceAFECEnabled": func() bool {
return config.ManagedGPUExperienceAFECEnabled
},
"IsEnableManagedGPU": func() bool {
return config.EnableManagedGPU
},
"EnableIMDSRestriction": func() bool {
return config.EnableIMDSRestriction
},
Expand Down
1 change: 1 addition & 0 deletions pkg/agent/datamodel/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1726,6 +1726,7 @@ type NodeBootstrappingConfiguration struct {
EnableNvidia bool
EnableAMDGPU bool
ManagedGPUExperienceAFECEnabled bool
EnableManagedGPU bool
EnableACRTeleportPlugin bool
TeleportdPluginURL string
EnableArtifactStreaming bool
Expand Down
Loading