Create a new Kubernetes cluster client
Select
SaaS
Customer Managed
API to create new Kubernetes cluster client
- application/json
Request Body
- apiServer string
API Server Endpoint of the cluster
- serviceAccount string
Name of the Service Account to authenticate with the cluster
- serviceToken string
Secret token to authenticate with the cluster
accessNodes object[]
id int32name stringtype string- name string
Name of the Kubernetes Cluster
- serviceType KubernetesServiceTypes
Possible values: [
ONPREM
,AKS
]Default value:
ONPREM
The Service Type of the Kubernetes cluster
etcdProtection object
Enable ETCD Protection on the Kubernetes Cluster
enabled booleanDenote if etcd protection is enabled
plan object
id int32name string
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- id int32
ID of the Kubernetes Cluster created
- name string
Name of the Kubernetes Cluster
etcd object
Name and ID of the ETCD Application Group
id int32name string
{
"id": 0,
"name": "string",
"etcd": {
"id": 0,
"name": "string"
}
}
Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Loading...