Cloud.SV.Namespace

Cloud.SV.Namespace
Cloud.SV.Namespace

Request schema for provisioning of Supervisor namespace resource

JSON Example
{
    "constraints": [
        {
            "tag": "string"
        }
    ],
    "count": 0,
    "description": "string",
    "limits": {
        "config_map_count": 0,
        "cpu_limit": 0,
        "cpu_limit_default": 0,
        "cpu_request_default": 0,
        "daemon_set_count": 0,
        "deployment_count": 0,
        "job_count": 0,
        "memory_limit": 0,
        "memory_limit_default": 0,
        "memory_request_default": 0,
        "persistent_volume_claim_count": 0,
        "pod_count": 0,
        "replica_set_count": 0,
        "replication_controller_count": 0,
        "secret_count": 0,
        "service_count": 0,
        "stateful_set_count": 0,
        "storage_request_limit": 0
    },
    "name": "string",
    "storage": [
        {
            "profile": {
                "constraints": [
                    {
                        "tag": "string"
                    }
                ],
                "limitMb": 0
            }
        }
    ],
    "vm_classes": [
        {
            "name": "string"
        }
    ]
}
array of object
constraints
Optional

To target the correct resources, blueprint constraints are matched against infrastructure capability tags. Constraints must include the key name. Options include value, negative [!], and hard or soft requirement.

integer
count
Optional

The number of resource instances to be created.

string
description
Optional

An optional description of this Supervisor namespace.

object
limits
Optional

Defines namespace resource limits such as pods, services, etc.

string As ^.*\$\{.*\}.*$|^((?!-)[a-z0-9-]{1,63}(?<!-))$
name
Required

Alphabetic (a-z and 0-9) string with maximum length of 63 characters. The character ‘-’ is allowed anywhere except the first or last position of the identifier.

array of object
storage
Optional

Defines set of storage profiles to be used to assign storage policies to the namespace.

array of object
vm_classes
Optional

Defines set of Virtual Machine classes to be assigned to the namespace