1
0
mirror of https://github.com/opencontainers/runtime-spec.git synced 2026-02-05 09:45:57 +01:00
Files
runtime-spec/schema/config-windows.json
Kirtana Ashok b9e8fdb005 Add support for windows CPU affinity
Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>
2024-12-16 10:28:10 -08:00

114 lines
3.9 KiB
JSON

{
"windows": {
"description": "Windows platform-specific configurations",
"type": "object",
"properties": {
"layerFolders": {
"type": "array",
"items": {
"$ref": "defs.json#/definitions/FilePath"
},
"minItems": 1
},
"devices": {
"type": "array",
"items": {
"$ref": "defs-windows.json#/definitions/Device"
}
},
"resources": {
"type": "object",
"properties": {
"memory": {
"type": "object",
"properties": {
"limit": {
"$ref": "defs.json#/definitions/uint64"
}
}
},
"cpu": {
"type": "object",
"properties": {
"count": {
"$ref": "defs.json#/definitions/uint64"
},
"shares": {
"$ref": "defs.json#/definitions/uint16"
},
"maximum": {
"$ref": "defs.json#/definitions/uint16"
},
"affinity": {
"type": "object",
"properties": {
"mask": {
"$ref": "defs.json#/definitions/uint64"
},
"group": {
"$ref": "defs.json#/definitions/uint32"
}
}
}
}
},
"storage": {
"type": "object",
"properties": {
"iops": {
"$ref": "defs.json#/definitions/uint64"
},
"bps": {
"$ref": "defs.json#/definitions/uint64"
},
"sandboxSize": {
"$ref": "defs.json#/definitions/uint64"
}
}
}
}
},
"network": {
"type": "object",
"properties": {
"endpointList": {
"$ref": "defs.json#/definitions/ArrayOfStrings"
},
"allowUnqualifiedDNSQuery": {
"type": "boolean"
},
"DNSSearchList": {
"$ref": "defs.json#/definitions/ArrayOfStrings"
},
"networkSharedContainerName": {
"type": "string"
},
"networkNamespace": {
"type": "string"
}
}
},
"credentialSpec": {
"type": "object"
},
"servicing": {
"type": "boolean"
},
"ignoreFlushesDuringBoot": {
"type": "boolean"
},
"hyperv": {
"type": "object",
"properties": {
"utilityVMPath": {
"type": "string"
}
}
}
},
"required": [
"layerFolders"
]
}
}