Skip to content

Commit

Permalink
add ManagedCluster AddOnFeature, remove clusterUpgradeMode and cluste…
Browse files Browse the repository at this point in the history
…rUpgradeDescription as they are not available yet (Azure#12086)

Co-authored-by: Alfredo Santamaria Gomez <alsantam@microsoft.com>
  • Loading branch information
2 people authored and mkarmark committed Jul 20, 2021
1 parent 75cf963 commit c841b14
Show file tree
Hide file tree
Showing 8 changed files with 145 additions and 599 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,50 +56,7 @@
}
]
}
],
"clusterUpgradeMode": "Manual",
"clusterUpgradeDescription": {
"forceRestart": false,
"upgradeReplicaSetCheckTimeout": "00:10:00",
"healthCheckWaitDuration": "00:00:30",
"healthCheckStableDuration": "00:00:30",
"healthCheckRetryTimeout": "00:05:00",
"upgradeTimeout": "01:00:00",
"upgradeDomainTimeout": "00:15:00",
"healthPolicy": {
"maxPercentUnhealthyNodes": 0,
"maxPercentUnhealthyApplications": 0,
"applicationHealthPolicies": {
"fabric:/myApp1": {
"defaultServiceTypeHealthPolicy": {
"maxPercentUnhealthyServices": 0
},
"serviceTypeHealthPolicies": {
"myServiceType1": {
"maxPercentUnhealthyServices": 100
}
}
}
}
},
"deltaHealthPolicy": {
"maxPercentDeltaUnhealthyNodes": 0,
"maxPercentUpgradeDomainDeltaUnhealthyNodes": 0,
"maxPercentDeltaUnhealthyApplications": 0,
"applicationDeltaHealthPolicies": {
"fabric:/myApp1": {
"defaultServiceTypeDeltaHealthPolicy": {
"maxPercentDeltaUnhealthyServices": 0
},
"serviceTypeDeltaHealthPolicies": {
"myServiceType1": {
"maxPercentDeltaUnhealthyServices": 0
}
}
}
}
}
}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,7 @@
}
]
}
],
"clusterUpgradeDescription": {
"forceRestart": false,
"upgradeReplicaSetCheckTimeout": "10675199.02:48:05.4775807",
"healthCheckWaitDuration": "00:05:00",
"healthCheckStableDuration": "00:05:00",
"healthCheckRetryTimeout": "00:45:00",
"upgradeTimeout": "12:00:00",
"upgradeDomainTimeout": "02:00:00",
"healthPolicy": {
"maxPercentUnhealthyNodes": 100,
"maxPercentUnhealthyApplications": 100
},
"deltaHealthPolicy": {
"maxPercentDeltaUnhealthyNodes": 0,
"maxPercentUpgradeDomainDeltaUnhealthyNodes": 0,
"maxPercentDeltaUnhealthyApplications": 0
}
},
"clusterUpgradeMode": "Automatic"
]
}
},
{
Expand Down Expand Up @@ -89,26 +70,7 @@
}
]
}
],
"clusterUpgradeDescription": {
"forceRestart": false,
"upgradeReplicaSetCheckTimeout": "10675199.02:48:05.4775807",
"healthCheckWaitDuration": "00:05:00",
"healthCheckStableDuration": "00:05:00",
"healthCheckRetryTimeout": "00:45:00",
"upgradeTimeout": "12:00:00",
"upgradeDomainTimeout": "02:00:00",
"healthPolicy": {
"maxPercentUnhealthyNodes": 100,
"maxPercentUnhealthyApplications": 100
},
"deltaHealthPolicy": {
"maxPercentDeltaUnhealthyNodes": 0,
"maxPercentUpgradeDomainDeltaUnhealthyNodes": 0,
"maxPercentDeltaUnhealthyApplications": 0
}
},
"clusterUpgradeMode": "Automatic"
]
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,26 +37,7 @@
}
]
}
],
"clusterUpgradeDescription": {
"forceRestart": false,
"upgradeReplicaSetCheckTimeout": "10675199.02:48:05.4775807",
"healthCheckWaitDuration": "00:05:00",
"healthCheckStableDuration": "00:05:00",
"healthCheckRetryTimeout": "00:45:00",
"upgradeTimeout": "12:00:00",
"upgradeDomainTimeout": "02:00:00",
"healthPolicy": {
"maxPercentUnhealthyNodes": 100,
"maxPercentUnhealthyApplications": 100
},
"deltaHealthPolicy": {
"maxPercentDeltaUnhealthyNodes": 0,
"maxPercentUpgradeDomainDeltaUnhealthyNodes": 0,
"maxPercentDeltaUnhealthyApplications": 0
}
},
"clusterUpgradeMode": "Automatic"
]
}
},
{
Expand Down Expand Up @@ -88,26 +69,7 @@
}
]
}
],
"clusterUpgradeDescription": {
"forceRestart": false,
"upgradeReplicaSetCheckTimeout": "10675199.02:48:05.4775807",
"healthCheckWaitDuration": "00:05:00",
"healthCheckStableDuration": "00:05:00",
"healthCheckRetryTimeout": "00:45:00",
"upgradeTimeout": "12:00:00",
"upgradeDomainTimeout": "02:00:00",
"healthPolicy": {
"maxPercentUnhealthyNodes": 100,
"maxPercentUnhealthyApplications": 100
},
"deltaHealthPolicy": {
"maxPercentDeltaUnhealthyNodes": 0,
"maxPercentUpgradeDomainDeltaUnhealthyNodes": 0,
"maxPercentDeltaUnhealthyApplications": 0
}
},
"clusterUpgradeMode": "Automatic"
]
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,49 +43,11 @@
]
}
],
"clusterUpgradeDescription": {
"forceRestart": false,
"upgradeReplicaSetCheckTimeout": "00:10:00",
"healthCheckWaitDuration": "00:00:30",
"healthCheckStableDuration": "00:00:30",
"healthCheckRetryTimeout": "00:05:00",
"upgradeTimeout": "01:00:00",
"upgradeDomainTimeout": "00:15:00",
"healthPolicy": {
"maxPercentUnhealthyNodes": 0,
"maxPercentUnhealthyApplications": 0,
"applicationHealthPolicies": {
"fabric:/myApp1": {
"defaultServiceTypeHealthPolicy": {
"maxPercentUnhealthyServices": 0
},
"serviceTypeHealthPolicies": {
"myServiceType1": {
"maxPercentUnhealthyServices": 100
}
}
}
}
},
"deltaHealthPolicy": {
"maxPercentDeltaUnhealthyNodes": 0,
"maxPercentUpgradeDomainDeltaUnhealthyNodes": 0,
"maxPercentDeltaUnhealthyApplications": 0,
"applicationDeltaHealthPolicies": {
"fabric:/myApp1": {
"defaultServiceTypeDeltaHealthPolicy": {
"maxPercentDeltaUnhealthyServices": 0
},
"serviceTypeDeltaHealthPolicies": {
"myServiceType1": {
"maxPercentDeltaUnhealthyServices": 0
}
}
}
}
}
},
"clusterUpgradeMode": "Automatic"
"addonFeatures": [
"DnsService",
"BackupRestoreService",
"ResourceMonitorService"
]
}
}
},
Expand Down Expand Up @@ -144,49 +106,11 @@
]
}
],
"clusterUpgradeDescription": {
"forceRestart": false,
"upgradeReplicaSetCheckTimeout": "00:10:00",
"healthCheckWaitDuration": "00:00:30",
"healthCheckStableDuration": "00:00:30",
"healthCheckRetryTimeout": "00:05:00",
"upgradeTimeout": "01:00:00",
"upgradeDomainTimeout": "00:15:00",
"healthPolicy": {
"maxPercentUnhealthyNodes": 0,
"maxPercentUnhealthyApplications": 0,
"applicationHealthPolicies": {
"fabric:/myApp1": {
"defaultServiceTypeHealthPolicy": {
"maxPercentUnhealthyServices": 0
},
"serviceTypeHealthPolicies": {
"myServiceType1": {
"maxPercentUnhealthyServices": 100
}
}
}
}
},
"deltaHealthPolicy": {
"maxPercentDeltaUnhealthyNodes": 0,
"maxPercentUpgradeDomainDeltaUnhealthyNodes": 0,
"maxPercentDeltaUnhealthyApplications": 0,
"applicationDeltaHealthPolicies": {
"fabric:/myApp1": {
"defaultServiceTypeDeltaHealthPolicy": {
"maxPercentDeltaUnhealthyServices": 0
},
"serviceTypeDeltaHealthPolicies": {
"myServiceType1": {
"maxPercentDeltaUnhealthyServices": 0
}
}
}
}
}
},
"clusterUpgradeMode": "Automatic"
"addonFeatures": [
"DnsService",
"BackupRestoreService",
"ResourceMonitorService"
]
}
}
},
Expand Down Expand Up @@ -243,50 +167,7 @@
}
]
}
],
"clusterUpgradeDescription": {
"forceRestart": false,
"upgradeReplicaSetCheckTimeout": "00:10:00",
"healthCheckWaitDuration": "00:00:30",
"healthCheckStableDuration": "00:00:30",
"healthCheckRetryTimeout": "00:05:00",
"upgradeTimeout": "01:00:00",
"upgradeDomainTimeout": "00:15:00",
"healthPolicy": {
"maxPercentUnhealthyNodes": 0,
"maxPercentUnhealthyApplications": 0,
"applicationHealthPolicies": {
"fabric:/myApp1": {
"defaultServiceTypeHealthPolicy": {
"maxPercentUnhealthyServices": 0
},
"serviceTypeHealthPolicies": {
"myServiceType1": {
"maxPercentUnhealthyServices": 100
}
}
}
}
},
"deltaHealthPolicy": {
"maxPercentDeltaUnhealthyNodes": 0,
"maxPercentUpgradeDomainDeltaUnhealthyNodes": 0,
"maxPercentDeltaUnhealthyApplications": 0,
"applicationDeltaHealthPolicies": {
"fabric:/myApp1": {
"defaultServiceTypeDeltaHealthPolicy": {
"maxPercentDeltaUnhealthyServices": 0
},
"serviceTypeDeltaHealthPolicies": {
"myServiceType1": {
"maxPercentDeltaUnhealthyServices": 0
}
}
}
}
}
},
"clusterUpgradeMode": "Automatic"
]
}
}
}
Expand Down
Loading

0 comments on commit c841b14

Please sign in to comment.