Youki · Schema

Oci Runtime Config Windows

ContainersContainer RuntimeOCIRustCNCFCloud NativeKubernetes
View JSON Schema on GitHub

JSON Schema

oci-runtime-config-windows.json Raw ↑
{
    "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"
        ]
    }
}