Get openstack cluster estimated rate information
POST/v1/spectroclusters/openstack/rate
Get openstack 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 [
- ]
- ]
cloudConfig object
Cluster level configuration for OpenStack cloud and applicable for all the machine pools
Create bastion node option we have earlier supported creation of bastion by default
DNSNameservers is the list of nameservers for OpenStack Subnet being created. Set this value when you need create a new network/subnet while the access through DNS is required.
domain object
network object
For static placement
For dynamic provision NodeCIDR is the OpenStack Subnet to be created. Cluster actuator will create a network, a subnet with NodeCIDR, and a router connected to this subnet. If you leave this empty, no network will be created.
project object
subnet object
machinepoolconfig object[]
cloudConfig objectrequired
for master pool, this will be the failure domains for kcp
Root disk size
flavorConfig required
DiskGiB is the size of a virtual machine's disk, in GiB.
MemoryMiB is the size of a virtual machine's memory, in MiB.
Openstack flavor name
NumCPUs is the number of virtual processors in a virtual machine.
subnet object
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
Openstack 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": {}
}
}