Get GCP cluster estimated rate information
POST/v1/spectroclusters/gcp/rate
Get GCP cluster estimated rate information
Request
Query Parameters
Possible values: [hourly
, monthly
, yearly
]
Default value: hourly
Header Parameters
Scope the request to the specified project uid
- application/json
Body
- Array [
- Array [
- ]
- Array [
- ]
- ]
cloudConfig object
Cluster level configuration for gcp cloud and applicable for all the machine pools
managedClusterConfig object
GCP managed cluster config
EnableAutopilot indicates whether to enable autopilot for this GKE cluster
Can be Region or Zone
NetworkName if empty would create VPC Network in auto mode. If provided, custom VPC network will be used
Name of the project in which cluster is to be deployed
GCP region for the cluster
machinepoolconfig object[]
cloudConfig objectrequired
Size of root volume in GB. Default is 30GB
Subnet specifies the subnetwork to use for given instance. If not specified, the first subnet from the cluster region and network is used
subnets undefined[]
poolConfig object
Machine pool configuration for the cluster
additionalLabels object
Additional labels to be part of the machine pool
additionalTags object
AdditionalTags is an optional set of tags to add to resources managed by the provider, in addition to the ones added by default. For eg., tags for EKS nodeGroup or EKS NodegroupIAMRole
Whether this pool is for control plane
Labels for this machine pool, example: master/worker, gpu, windows
machinePoolProperties object
Machine pool specific properties
Possible values: [amd64
, arm64
]
Default value: amd64
Architecture type of the pool. Default value is 'amd64'
Max size of the pool, for scaling
Min size of the pool, for scaling
Minimum number of seconds a node should be Ready, before the next node is selected for repave. Applicable only for workerpools in infrastructure cluster
Size of the pool, number of nodes/machines
taints object[]
Master or worker taints
Possible values: [NoSchedule
, PreferNoSchedule
, NoExecute
]
The taint key to be applied to a node
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.
The taint value corresponding to the taint key.
updateStrategy object
Rolling update strategy for this machine pool if not specified, will use ScaleOut
Possible values: [RollingUpdateScaleOut
, RollingUpdateScaleIn
]
update strategy, either ScaleOut or ScaleIn if empty, will default to RollingUpdateScaleOut
If IsControlPlane==true && useControlPlaneAsWorker==true, then will remove master taint this will not be used for worker pools
Responses
- 200
Gcp Cluster estimated rate response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
machinePools object[]
rate object
Cloud estimated rate information
compute object
Compute estimated rate information
storage object[]
rate object
Cluster total estimated rate information
resourceMetadata object
Cloud resource metadata
instanceTypes object
property name* object
Cloud Instance type details
Category of instance type
cost object
Instance cost entity
price object[]
Array of cloud instance price
OnDemand price of instance
Possible values: [linux
, windows
]
Os associated with instance price. Allowed values - [linux, windows]
Spot price of instance
Cpu of instance type
Gpu of instance type
Memory of instance type
Non supported zones of the instance in a particular region
Price of instance type
Supported architecture of the instance
Type of instance type
storageTypes object
property name* object
Cloud cloud Storage type details
cost object
Cloud storage cost
Cloud storage upper limit which is free.
price object[]
Array of cloud storage range prices
Upper limit of cloud storage usage
Price of cloud storage type
iopsCost object
Cloud storage cost
Cloud storage upper limit which is free.
price object[]
Array of cloud storage range prices
Upper limit of cloud storage usage
Price of cloud storage type
kind of storage type
Name of the storage type
throughputCost object
Cloud storage cost
Cloud storage upper limit which is free.
price object[]
Array of cloud storage range prices
Upper limit of cloud storage usage
Price of cloud storage type
{
"machinePools": [
{
"name": "string",
"nodesCount": 0,
"rate": {
"compute": {
"rate": 0,
"type": "string"
},
"storage": [
{
"iops": 0,
"rate": 0,
"sizeGB": 0,
"throughput": 0,
"type": "string"
}
],
"total": 0
}
}
],
"name": "string",
"rate": {
"compute": 0,
"storage": 0,
"total": 0
},
"resourceMetadata": {
"instanceTypes": {},
"storageTypes": {}
}
}