0
部署後有什麼方法可以更新服務結構集羣的節點類型嗎?如何在部署後更新服務結構的節點類型
我想向集羣動態添加新的vm scaleset,但如果我無法在服務結構集羣中添加新的節點類型,那麼無法爲此vm scaleset創建新的佈局約束。
部署後有什麼方法可以更新服務結構集羣的節點類型嗎?如何在部署後更新服務結構的節點類型
我想向集羣動態添加新的vm scaleset,但如果我無法在服務結構集羣中添加新的節點類型,那麼無法爲此vm scaleset創建新的佈局約束。
我發現沒有辦法使用最新的ARM服務結構提供程序。但使用較舊的,這是可能的。
,我學會armclient put /subscriptions/8393a037-5d39-462d-a583-09915b4493df/resourceGroups/ServiceFabricTest3/providers/Microsoft.ServiceFabric/clusters/pksservicefabric?api-version=2015-01-01-alpha @test.json
的幾件事情是,那下面test.json文件都必須
這使我相信ARM提供商有一段路要走。
{
"location": "West Europe",
"properties": {
"managementEndpoint": "https://pksservicefabric.westeurope.cloudapp.azure.com:19080",
"certificate": {
"thumbprint": "4B729ADE19BF2742BB09BB257C6BD8538DBDB1A4",
"x509StoreName": "My"
},
"nodeTypes": [
{
"name": "nt1vm",
"clientConnectionEndpointPort": 19000,
"httpGatewayEndpointPort": 19080,
"applicationPorts": {
"startPort": 20000,
"endPort": 30000
},
"ephemeralPorts": {
"startPort": 49152,
"endPort": 65534
},
"isPrimary": true
},
{
"name": "nt2vm",
"clientConnectionEndpointPort": 19000,
"httpGatewayEndpointPort": 19080,
"applicationPorts": {
"startPort": 20000,
"endPort": 30000
},
"ephemeralPorts": {
"startPort": 49152,
"endPort": 65534
},
"isPrimary": false
},
{
"name": "nt3vm",
"clientConnectionEndpointPort": 19000,
"httpGatewayEndpointPort": 19080,
"applicationPorts": {
"startPort": 20000,
"endPort": 30000
},
"ephemeralPorts": {
"startPort": 49152,
"endPort": 65534
},
"isPrimary": false
},
{
"name": "algorithm-a0",
"clientConnectionEndpointPort": 19000,
"httpGatewayEndpointPort": 19080,
"applicationPorts": {
"startPort": 20000,
"endPort": 30000
},
"ephemeralPorts": {
"startPort": 49152,
"endPort": 65534
},
"isPrimary": false
},
{
"name": "algorithm-a1",
"clientConnectionEndpointPort": 19000,
"httpGatewayEndpointPort": 19080,
"applicationPorts": {
"startPort": 20000,
"endPort": 30000
},
"ephemeralPorts": {
"startPort": 49152,
"endPort": 65534
},
"isPrimary": false
},
{
"name": "algorithm-a2",
"clientConnectionEndpointPort": 19000,
"httpGatewayEndpointPort": 19080,
"applicationPorts": {
"startPort": 20000,
"endPort": 30000
},
"ephemeralPorts": {
"startPort": 49152,
"endPort": 65534
},
"isPrimary": false
},
{
"name": "algorithm-a3",
"clientConnectionEndpointPort": 19000,
"httpGatewayEndpointPort": 19080,
"applicationPorts": {
"startPort": 20000,
"endPort": 30000
},
"ephemeralPorts": {
"startPort": 49152,
"endPort": 65534
},
"isPrimary": false
},
{
"name": "algorithm-a4",
"clientConnectionEndpointPort": 19000,
"httpGatewayEndpointPort": 19080,
"applicationPorts": {
"startPort": 20000,
"endPort": 30000
},
"ephemeralPorts": {
"startPort": 49152,
"endPort": 65534
},
"isPrimary": false
},
{
"name": "algorithm-a5",
"clientConnectionEndpointPort": 19000,
"httpGatewayEndpointPort": 19080,
"applicationPorts": {
"startPort": 20000,
"endPort": 30000
},
"ephemeralPorts": {
"startPort": 49152,
"endPort": 65534
},
"isPrimary": false
},
{
"name": "algorithm-a6",
"clientConnectionEndpointPort": 19000,
"httpGatewayEndpointPort": 19080,
"applicationPorts": {
"startPort": 20000,
"endPort": 30000
},
"ephemeralPorts": {
"startPort": 49152,
"endPort": 65534
},
"isPrimary": false
}
],
"expectedVmResources": [
{
"name": "nt1vm",
"nodeTypeRef": "nt1vm",
"vmInstanceCount": 5,
"isVmss": true
}
]
}
}