Create cluster groups
POST/v1/clustergroups
Create cluster groups
Request
Header Parameters
Scope the request to the specified project uid
- application/json
Body
Array [
]
Array [
]
Array [
Array [
Array [
]
]
]
metadata
object
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
annotations
object
Annotations are system generated key value metadata for the resource. As an input certain annotations like description can be set.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
labels
object
Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Name of the resource.
UID is the unique identifier generated for the resource. This is not an input field for any request.
spec
Cluster group specifications request entity
clusterRefs
undefined[]
clustersConfig
Clusters config of cluster group
Possible values: [Ingress
, LoadBalancer
]
Host cluster endpoint type
hostClustersConfig
undefined[]
endpointConfig
ingressConfig
Ingress configuration for exposing the virtual cluster's kube-apiserver
loadBalancerConfig
Load balancer configuration for exposing the virtual cluster's kube-apiserver
Possible values: [k3s
, cncf_k8s
]
Default value: k3s
limitConfig
Cluster group limit config
Deprecated. Use field cpuMilliCore
CPU in milli cores
Deprecated. Use field memoryMiB
Memory in MiB
Over subscription percentage
Storage in GiB
profiles
object[]
packValues
object[]
Cluster profile packs array
manifests
undefined[]
Pack manifests are additional content as part of the profile
Manifest content in yaml
Manifest name
Manifest uid
Pack name
Pack version tag
Possible values: [spectro
, helm
, manifest
, oci
]
Default value: spectro
Pack values represents the values.yaml used as input parameters either Params OR Values should be used, not both If both applied at the same time, will only use Values
Cluster profile uid to be replaced with new profile
Cluster profile uid
Possible values: [hostCluster
]
Responses
- 201
Created successfully
Response Headers
AuditUid
string
Audit uid for the request
- application/json
- Schema
- Example (from schema)
Schema
{
"uid": "string"
}