CreateKubernetescluster
Select
Create Kubernetes cluster
- application/json
Request Body
- name string required
The name of the hypervisor group being created
- skipCredentialValidation boolean
Default value:
false
if credential validation has to be skipped.
accessNodes object[]
id int32name stringdisplayName stringDisplay name of the access node
type int32Type of access node , Ex: 3 - access Node , 28 - Access Node Groups
credentials object
id int32name stringetcdProtection object
Create an application group etcd (system generated) with pre-defined content
enabled booleanDenote if etcd protection is enabled
plan object
id int32name stringplanEntity object
id int32name string- hypervisorType string required
Possible values: [
KUBERNETES
] - endpointurl string
Endpoint url to connect
- serviceName string
Service Name to connect in case authentication mode is service account
- secretKey string
SecretKey to connect in case authentication mode is service account
- userName string
Username to connect in case authentication mode is Username and password
- password string
Username to connect in case authentication mode is Username and password
- k8ServiceType string
Possible values: [
ONPREM
,AZURE
]
- 200
- 400
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- clusterId int32
- warningCode int32
- errorCode int32
- clusterName string
Name of the cluster created
- errorMessage string
Response message
- warningMessage string
Response message
etcdSubclientResponse object[]
subclientId int32errorCode int32errorMessage stringResponse message
{
"clusterId": 0,
"warningCode": 0,
"errorCode": 0,
"clusterName": "string",
"errorMessage": "string",
"warningMessage": "string",
"etcdSubclientResponse": [
{
"subclientId": 0,
"errorCode": 0,
"errorMessage": "string"
}
]
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}