PKS Cluster Config Controller.add Cluster

PKS Cluster Config Controller.add Cluster

Solution users, System admins, Container admins, Container developers, and Container architects can configure clusters.

Request
URI
POST
https://{api_host}/container-service/api/resources/pks/clusters-config
COPY
Request Body
AddClusterRequest of type(s) application/json
Required
{
    "cluster": {
        "name": "string",
        "last_action_description": "string",
        "last_action": "string",
        "uuid": "string",
        "plan_name": "string",
        "kubernetes_master_ips": [
            "string"
        ],
        "last_action_state": "string"
    },
    "documentExpirationTimeMicros": "string",
    "documentSelfLink": "string",
    "endpointLink": "string",
    "preferMasterIP": false,
    "tenantLinks": [
        "string"
    ],
    "documentUpdateTimeMicros": "string"
}
cluster
Optional

cluster

string
documentExpirationTimeMicros
Optional

documentExpirationTimeMicros

string
documentSelfLink
Optional

documentSelfLink

string
endpointLink
Optional

endpointLink

boolean
preferMasterIP
Optional

preferMasterIP

array of string
tenantLinks
Optional

tenantLinks

string
documentUpdateTimeMicros
Optional

documentUpdateTimeMicros

Responses
200

successful operation

Returns ClusterDto of type(s) */*
{
    "cpuUsage": "number",
    "documentExpirationTimeMicros": "string",
    "address": "string",
    "memoryUsage": 0,
    "nodeLinks": [
        "string"
    ],
    "systemContainersCount": 0,
    "publicAddress": "string",
    "type": "string",
    "documentUpdateTimeMicros": "string",
    "totalMemory": 0,
    "totalCpu": "number",
    "documentSelfLink": "string",
    "clusterCreationTimeMicros": 0,
    "name": "string",
    "details": "string",
    "tenantLinks": [
        "string"
    ],
    "containerCount": 0,
    "status": "string"
}
number As double As double
cpuUsage
Optional

cpuUsage

string
documentExpirationTimeMicros
Optional

documentExpirationTimeMicros

string
address
Optional

address

integer As int64 As int64
memoryUsage
Optional

memoryUsage

array of string
nodeLinks
Optional

nodeLinks

integer As int32 As int32
systemContainersCount
Optional

systemContainersCount

string
publicAddress
Optional

publicAddress

string
type
Optional

type

Possible values are : DOCKER, VCH, KUBERNETES,
string
documentUpdateTimeMicros
Optional

documentUpdateTimeMicros

object
nodes
Optional

nodes

integer As int64 As int64
totalMemory
Optional

totalMemory

number As double As double
totalCpu
Optional

totalCpu

string
documentSelfLink
Optional

documentSelfLink

integer As int64 As int64
clusterCreationTimeMicros
Optional

clusterCreationTimeMicros

string
name
Optional

name

string
details
Optional

details

array of string
tenantLinks
Optional

tenantLinks

integer As int32 As int32
containerCount
Optional

containerCount

string
status
Optional

status

Possible values are : ON, OFF, DISABLED, WARNING, PROVISIONING, RESIZING, DESTROYING, UNREACHABLE,

201
Operation doesn't return any data structure