Cloud.K8S.Namespace

Cloud.K8S.Namespace
Cloud.K8S.Namespace

Request schema for provisioning of Kubernetes namespace resource

JSON Example
{
    "constraints": [
        {
            "tag": "string"
        }
    ],
    "count": 0,
    "description": "string",
    "limitRanges": {},
    "limits": {
        "configmaps": "string",
        "count/daemonsets.apps": "string",
        "count/deployments.apps": "string",
        "count/jobs.batch": "string",
        "count/replicasets.apps": "string",
        "count/statefulsets.apps": "string",
        "cpu": "string",
        "limits.cpu": "string",
        "limits.memory": "string",
        "memory": "string",
        "persistentvolumeclaims": "string",
        "pods": "string",
        "replicationcontrollers": "string",
        "requests.cpu": "string",
        "requests.memory": "string",
        "requests.storage": "string",
        "secrets": "string",
        "services": "string",
        "services.loadbalancers": "string",
        "services.nodeports": "string"
    },
    "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 Kubernetes namespace.

object
limitRanges
Optional

Defines object level limits and defaults.

object
limits
Optional

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

string As ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
name
Required

A name for this Kubernetes namespace. Must match regex ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$