我正在尝试ACS-Engine
使用Kubernetes
. 我能够Linux agentPool
成功设置。当我添加 时Windows agentPool
,我收到一个错误。osType
我只有在is时才得到这个Windows
。
我正在使用以下设置代理池:
"agentPoolProfiles": [
{
"name": "linuxpool1",
"count": 3,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet",
"osType": "Linux"
},
{
"name": "windowspool2",
"count": 3,
"vmSize": "Standard_D2_v2",
"availabilityProfile": "AvailabilitySet",
"osType": "Windows"
}
],
包含时Windows agentPool
,我收到以下错误:
MacBook-Pro:acs-engine appalachios$ ./acs-engine -artifacts zeuscluster zeus_deploy_v1.json
acsengine took 2.42314ms
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x112a551]
goroutine 1 [running]:
github.com/Azure/acs-engine/pkg/api/vlabs.
(*Properties).Validate(0xc420070420, 0x4ce, 0x6ce)
/Users/appalachios/gopath/src/github.com/Azure/acs-
engine/pkg/api/vlabs/validate.go:241 +0x471
github.com/Azure/acs-engine/pkg/api.LoadContainerService(0xc420077500, 0x4ce, 0x6ce,
0xc4200159f0, 0x5, 0x0, 0x0, 0x6ce)
/Users/appalachios/gopath/src/github.com/Azure/acs-engine/pkg/api/apiloader.go:73 +0x398
github.com/Azure/acs-engine/pkg/api.DeserializeContainerService(0xc420077500, 0x4ce, 0x6ce, 0x4ce, 0x6ce, 0x0, 0x0, 0x1271fc0)
/Users/appalachios/gopath/src/github.com/Azure/acs-engine/pkg/api/apiloader.go:30 +0x13a
github.com/Azure/acs-engine/pkg/api.LoadContainerServiceFromFile(0x7fff5fbffbfc, 0x13, 0x0, 0x0, 0x0, 0x0, 0x10b7510)
/Users/appalachios/gopath/src/github.com/Azure/acs-engine/pkg/api/apiloader.go:20 +0x1bd
main.main()
/Users/appalachios/gopath/src/github.com/Azure/acs-engine/acs-engine.go:205 +0x3c2