Get Cluster Templates

Get Cluster Templates

Api to get all cluster templates

Request
URI
GET
https://{api_host}/tca/caas/api/v1/orgs/{orgId}/templates
COPY
Path Parameters
string
orgId
Optional

The identifier of the tenant


Authentication
This operation uses the following authentication methods.
Responses
200

Get cluster templates

Returns Array of clusterTemplate of type(s) application/json
[
    {
        "clusterType": "string",
        "clusterConfig": {
            "cni": [
                {
                    "name": "string"
                }
            ],
            "csi": [
                {
                    "name": "string",
                    "properties": {
                        "name": "string",
                        "isDefault": false,
                        "timeout": "string"
                    }
                }
            ],
            "kubernetesVersion": "string",
            "tools": [
                {
                    "name": "string",
                    "version": "string"
                }
            ],
            "networking": [
                {
                    "name": "string"
                }
            ]
        },
        "description": "string",
        "masterNodes": [
            {
                "cpu": 0,
                "memory": 0,
                "name": "string",
                "networks": [
                    {
                        "label": "string",
                        "isManagement": false
                    }
                ],
                "storage": 0,
                "replica": 0,
                "labels": [
                    "string"
                ],
                "cloneMode": "string",
                "config": {
                    "healthCheck": {
                        "nodeStartupTimeout": "string",
                        "unhealthyConditions": [
                            {
                                "type": "string",
                                "status": "string",
                                "timeout": "string"
                            }
                        ]
                    }
                }
            }
        ],
        "name": "string",
        "id": "string",
        "tags": [
            {
                "autoCreated": false,
                "name": "string"
            }
        ],
        "workerNodes": [
            {
                "cpu": 0,
                "memory": 0,
                "name": "string",
                "networks": [
                    {
                        "label": "string",
                        "isManagement": false
                    }
                ],
                "storage": 0,
                "replica": 0,
                "labels": [
                    "string"
                ],
                "cloneMode": "string",
                "config": {
                    "cpuManagerPolicy": {
                        "type": "string",
                        "policy": "string",
                        "properties": {
                            "kubeReserved": {
                                "cpu": 0,
                                "memoryInGiB": 0
                            },
                            "systemReserved": {
                                "cpu": 0,
                                "memoryInGiB": 0
                            }
                        }
                    },
                    "healthCheck": {
                        "nodeStartupTimeout": "string",
                        "unhealthyConditions": [
                            {
                                "type": "string",
                                "status": "string",
                                "timeout": "string"
                            }
                        ]
                    }
                }
            }
        ]
    }
]