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.
- useHostedInfrastructure boolean
Default value:
false
Describes if the infra has to be managed by commvault
accessNodes object[]
id int32name stringdisplayName stringDisplay name of the access node
type int32Type of access node , Ex: 3 - access Node , 28 - Access Node Groups
isScaleProfile booleanTrue if the access node is a scale profile client
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- enableCloudConfigProtection boolean
Default value:
false
Protect Cloud Config entities
- workloadType string
workloadRegion object
id int32name string- forceAccessNodeRegion boolean
Default value:
true
If workloadRegion is set, use only access nodes from that region when true (fail if none found). When false, prefer that region but use any node if needed.
- 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. Secret key must be Base64 encoded.
- 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
,AMAZON
] cloudStorage object
Used to store the cloud storage info of the Kubernetes cluster
region object
id int32name stringstoragePool object
id int32name string- skipSSLValidation boolean
Default value:
false
if SSL certificate validation has to be skipped.
- sslThumbprint string
Thumbprint of the SSL certificate used to bypass SSL validation
- 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
}