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"
}
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
Api Operations
GET
Auth Session Controller.get
POST
Catalog Request Callback Controller.post Submission Extension
POST
Catalog Request Callback Controller.rollback Request
POST
Catalog Request Callback Controller.submit Request
POST
Catalog Request Callback Controller.validate Request
POST
Composition Callback Request Controller.allocate Component
POST
Composition Callback Request Controller.create
POST
Composition Callback Request Controller.deallocate Component
GET
Container Image Controller.find By Query
GET
Container Image Tags Controller.find By Query
GET
Container Resource Controller.get Resource
POST
Favorite Image Populate In Embedded Controller.populate Images For Tenants
GET
Kubernetes Pod Log Controller.get
POST
Network Callback Request Controller.allocate Component
POST
Network Callback Request Controller.deallocate Component
POST
Network Callback Request Controller.submit Request
POST
PKS Cluster Config Controller.add Cluster
GET
PKS Cluster List Controller.list Clusters
GET
PKS Plan List Controller.list Plans
POST
Retrieves collection Of resources By resource type.
GET
Template Search Controller.find By Query
POST
Triggers data collection Of all hosts and associated containers per containerType and related provider.
POST
Triggers full data collection.