Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Service Fabric Managed Clusters] fix api 2021_01_01-preview #14012

Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@
"instanceCount": 5,
"minInstanceCount": 3,
"minInstancePercentage": 30,
"instanceCloseDelayDuration": "00:10:00",
"servicePackageActivationMode": "SharedProcess",
"serviceDnsName": "my.service.dns"
"servicePackageActivationMode": "SharedProcess"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@
"instanceCount": 5,
"minInstanceCount": 3,
"minInstancePercentage": 30,
"instanceCloseDelayDuration": "00:10:00",
"servicePackageActivationMode": "SharedProcess",
"serviceDnsName": "my.service.dns"
"servicePackageActivationMode": "SharedProcess"
}
}
},
Expand Down Expand Up @@ -120,9 +118,7 @@
"instanceCount": 5,
"minInstanceCount": 3,
"minInstancePercentage": 30,
"instanceCloseDelayDuration": "00:10:00",
"servicePackageActivationMode": "SharedProcess",
"serviceDnsName": "my.service.dns"
"servicePackageActivationMode": "SharedProcess"
}
}
},
Expand Down Expand Up @@ -185,9 +181,7 @@
"instanceCount": 5,
"minInstanceCount": 3,
"minInstancePercentage": 30,
"instanceCloseDelayDuration": "00:10:00",
"servicePackageActivationMode": "SharedProcess",
"serviceDnsName": "my.service.dns"
"servicePackageActivationMode": "SharedProcess"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@
"instanceCloseDelayDuration": {
"type": "integer",
"format": "int64",
"description": "Duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster upgrade, only for those instances which have a non-zero delay duration configured in the service description. See InstanceCloseDelayDurationSeconds property in StatelessServiceDescription for details. Note, the default value of InstanceCloseDelayDurationInSeconds is 4294967295, which indicates that the behavior will entirely depend on the delay configured in the stateless service description."
"description": "Duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster upgrade, only for those instances which have a non-zero delay duration configured in the service description."
},
"upgradeMode": {
"$ref": "#/definitions/RollingUpgradeMode"
Expand Down Expand Up @@ -1459,7 +1459,8 @@
"metricName",
"lowerLoadThreshold",
"upperLoadThreshold",
"scaleInterval"
"scaleInterval",
"useOnlyPrimaryLoad"
],
"properties": {
"metricName": {
Expand All @@ -1479,6 +1480,10 @@
"scaleInterval": {
"type": "string",
"description": "The period in seconds on which a decision is made whether to scale or not. This property should come in ISO 8601 format \"hh:mm:ss\"."
},
"useOnlyPrimaryLoad": {
"type": "boolean",
"description": "Flag determines whether only the load of primary replica should be considered for scaling. If set to true, then trigger will only consider the load of primary replicas of stateful service. If set to false, trigger will consider load of all replicas. This parameter cannot be set to true for stateless service."
}
}
},
Expand Down Expand Up @@ -2237,10 +2242,6 @@
}
]
}
},
"serviceDnsName": {
"type": "string",
"description": "The DNS name of the service. It requires the DNS system service to be enabled in Service Fabric cluster."
}
}
},
Expand Down Expand Up @@ -2416,10 +2417,6 @@
"servicePlacementTimeLimit": {
"type": "string",
"description": "The duration for which replicas can stay InBuild before reporting that build is stuck, represented in ISO 8601 format \"hh:mm:ss\"."
},
"dropSourceReplicaOnMove": {
"type": "boolean",
"description": "Indicates whether to drop source Secondary replica even if the target replica has not finished build. If desired behavior is to drop it as soon as possible the value of this property is true, if not it is false."
}
}
},
Expand Down Expand Up @@ -2450,11 +2447,6 @@
"type": "integer",
"format": "int32",
"description": "MinInstancePercentage is the minimum percentage of InstanceCount that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstancePercentage computation, -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service."
},
"instanceCloseDelayDuration": {
"type": "string",
"default": "0",
"description": "Duration represented in ISO 8601 format \"hh:mm:ss\", to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster upgrade and disabling node. The endpoint exposed on this instance is removed prior to starting the delay, which prevents new connections to this instance. In addition, clients that have subscribed to service endpoint change events(https://docs.microsoft.com/dotnet/api/system.fabric.fabricclient.servicemanagementclient.registerservicenotificationfilterasync), can do the following upon receiving the endpoint removal notification: - Stop sending new requests to this instance. - Close existing connections after in-flight requests have completed. - Connect to a different instance of the service partition for future requests. Note, the default value of InstanceCloseDelayDuration is 0, which indicates that there won't be any delay or removal of the endpoint prior to closing the instance."
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@
"description": "Number of unused versions per application type to keep."
}
},
"description": "The policy used to clean up unused versions."
"description": "The policy used to clean up unused versions. When the policy is not specified explicitly, the default unused application versions to keep will be 3."
},
"AzureActiveDirectory": {
"properties": {
Expand Down