github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/apecloud-mysql-cluster/values.schema.json (about)

     1  {
     2    "$schema": "http://json-schema.org/schema#",
     3    "type": "object",
     4    "properties": {
     5      "version": {
     6        "title": "Version",
     7        "description": "Cluster version.",
     8        "type": "string",
     9        "default": "ac-mysql-8.0.30"
    10      },
    11      "mode": {
    12        "title": "Mode",
    13        "description": "Cluster topology mode.",
    14        "type": "string",
    15        "default": "standalone",
    16        "enum": [
    17          "standalone",
    18          "raftGroup"
    19        ]
    20      },
    21      "replicas": {
    22        "title": "Replicas",
    23        "description": "The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3.",
    24        "type": "integer",
    25        "default": 1,
    26        "minimum": 1,
    27        "maximum": 5
    28      },
    29      "cpu": {
    30        "title": "CPU",
    31        "description": "CPU cores.",
    32        "type": [
    33          "number",
    34          "string"
    35        ],
    36        "default": 0.5,
    37        "minimum": 0.5,
    38        "maximum": 64,
    39        "multipleOf": 0.5
    40      },
    41      "memory": {
    42        "title": "Memory(Gi)",
    43        "description": "Memory, the unit is Gi.",
    44        "type": [
    45          "number",
    46          "string"
    47        ],
    48        "default": 0.5,
    49        "minimum": 0.5,
    50        "maximum": 1000
    51      },
    52      "storage": {
    53        "title": "Storage(Gi)",
    54        "description": "Storage size, the unit is Gi.",
    55        "type": [
    56          "number",
    57          "string"
    58        ],
    59        "default": 20,
    60        "minimum": 1,
    61        "maximum": 10000
    62      },
    63      "proxyEnabled": {
    64        "title": "Proxy",
    65        "description": "Enable proxy or not.",
    66        "type": "boolean",
    67        "default": false
    68      }
    69    }
    70  }