Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save artisticcheese/ee8b2b38fa9e15b5dab49dbeb0da0115 to your computer and use it in GitHub Desktop.
Save artisticcheese/ee8b2b38fa9e15b5dab49dbeb0da0115 to your computer and use it in GitHub Desktop.
ClusterConfig.Windows.MultiMachine.json
{
"name": "WindowsContainersCluster",
"clusterConfigurationVersion": "1.0.0",
"apiVersion": "10-2017",
"nodes": [
{
"nodeName": "vm0",
"iPAddress": "containerhost00.sf.local",
"nodeTypeRef": "NodeType0",
"faultDomain": "fd:/dc1/r0",
"upgradeDomain": "UD0"
},
{
"nodeName": "vm1",
"iPAddress": "containerhost01.sf.local",
"nodeTypeRef": "NodeType0",
"faultDomain": "fd:/dc1/r1",
"upgradeDomain": "UD1"
},
{
"nodeName": "vm2",
"iPAddress": "containerhost02.sf.local",
"nodeTypeRef": "NodeType0",
"faultDomain": "fd:/dc1/r2",
"upgradeDomain": "UD2"
}
],
"properties": {
"diagnosticsStore":
{
"metadata": "Please replace the diagnostics file share with an actual file share accessible from all cluster machines. For example, \\\\machine1\\DiagnosticsStore.",
"dataDeletionAgeInDays": "21",
"storeType": "FileShare",
"connectionstring": "\\\\dc1\\DiagStore"
},
"security": {
"ClusterCredentialType": "Windows",
"ServerCredentialType": "Windows",
"WindowsIdentities": {
"ClusterIdentity": "sf.local\\sf-hosts",
"ClientIdentities": [
{
"Identity": "sf.local\\Domain Admins",
"IsAdmin": true
}
]
}
},
"nodeTypes": [
{
"name": "NodeType0",
"clientConnectionEndpointPort": "19000",
"clusterConnectionEndpointPort": "19001",
"leaseDriverEndpointPort": "19002",
"serviceConnectionEndpointPort": "19003",
"httpGatewayEndpointPort": "19080",
"reverseProxyEndpointPort": "19081",
"applicationPorts": {
"startPort": "20001",
"endPort": "20031"
},
"isPrimary": true
}
],
"fabricSettings": [
{
"name": "Setup",
"parameters": [
{
"name": "FabricDataRoot",
"value": "F:\\SF"
},
{
"name": "FabricLogRoot",
"value": "F:\\SF\\Log"
}
]
},
{
"Name": "Hosting",
"Parameters": [
{
"Name": "PruneContainerImages",
"Value": "True"
},
{
"Name": "ContainerImagesToSkip",
"Value": "microsoft/windowsservercore|microsoft/nanoserver"
},
{
"Name": "ContainerServiceArguments",
"Value": "-H localhost:2375 -H npipe:// --data-root F:\\images"
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment