Skip to content

Commit

Permalink
[WIP]Add GPU SKUs; clean up (Azure#316)
Browse files Browse the repository at this point in the history
* Add GPU SKUs; clean upJ

* Fix go mod

* Update go.mod
  • Loading branch information
Tony Xu authored Sep 11, 2020
1 parent b9e22be commit d6b3313
Show file tree
Hide file tree
Showing 7 changed files with 459 additions and 509 deletions.
97 changes: 97 additions & 0 deletions go.sum

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions hack/tools/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module github.com/Azure/aks-engine/hack/tools
go 1.12

require (
github.com/devigned/pub v0.2.3 // indirect
github.com/go-bindata/go-bindata v3.1.2+incompatible
github.com/mitchellh/gox v1.0.1
github.com/onsi/ginkgo v1.10.1
Expand Down
193 changes: 193 additions & 0 deletions hack/tools/go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/agent/baker.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ func getContainerServiceFuncMap(config *NodeBootstrappingConfiguration) template
return cs.Properties.AnyAgentIsLinux()
},
"IsNSeriesSKU": func(profile *datamodel.AgentPoolProfile) bool {
return IsNvidiaEnabledSKU(profile.VMSize)
return datamodel.IsNvidiaEnabledSKU(profile.VMSize)
},
"HasAvailabilityZones": func(profile *datamodel.AgentPoolProfile) bool {
return profile.HasAvailabilityZones()
Expand Down
Loading

0 comments on commit d6b3313

Please sign in to comment.