github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/mariadb-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": "mariadb-10.6.15"
    10      },
    11      "mode": {
    12        "title": "Mode",
    13        "description": "Cluster topology mode.",
    14        "type": "string",
    15        "default": "standalone",
    16        "enum": [
    17          "standalone"
    18        ]
    19      },
    20      "replicas": {
    21        "title": "Replicas",
    22        "description": "The number of replicas, for standalone mode, the replicas is 1.",
    23        "type": "integer",
    24        "default": 1,
    25        "minimum": 1,
    26        "maximum": 1
    27      },
    28      "cpu": {
    29        "title": "CPU",
    30        "description": "CPU cores.",
    31        "type": [
    32          "number",
    33          "string"
    34        ],
    35        "default": 0.5,
    36        "minimum": 0.5,
    37        "maximum": 64,
    38        "multipleOf": 0.5
    39      },
    40      "memory": {
    41        "title": "Memory(Gi)",
    42        "description": "Memory, the unit is Gi.",
    43        "type": [
    44          "number",
    45          "string"
    46        ],
    47        "default": 0.5,
    48        "minimum": 0.5,
    49        "maximum": 1000
    50      },
    51      "storage": {
    52        "title": "Storage(Gi)",
    53        "description": "Storage size, the unit is Gi.",
    54        "type": [
    55          "number",
    56          "string"
    57        ],
    58        "default": 20,
    59        "minimum": 1,
    60        "maximum": 10000
    61      }
    62  
    63    }
    64  }