update upper iops and throughput limits
This commit is contained in:
parent
deb7e7f4bf
commit
6f2b5c052d
|
|
@ -81,8 +81,8 @@ spec:
|
||||||
"cost_memory": 0.014375,
|
"cost_memory": 0.014375,
|
||||||
"free_iops": 3000,
|
"free_iops": 3000,
|
||||||
"free_throughput": 125,
|
"free_throughput": 125,
|
||||||
"limit_iops": 16000,
|
"limit_iops": 80000,
|
||||||
"limit_throughput": 1000,
|
"limit_throughput": 2000,
|
||||||
"postgresql_versions": [
|
"postgresql_versions": [
|
||||||
"18",
|
"18",
|
||||||
"17",
|
"17",
|
||||||
|
|
|
||||||
|
|
@ -3259,6 +3259,7 @@ spec:
|
||||||
properties:
|
properties:
|
||||||
iops:
|
iops:
|
||||||
format: int32
|
format: int32
|
||||||
|
maximum: 80000
|
||||||
type: integer
|
type: integer
|
||||||
isSubPathExpr:
|
isSubPathExpr:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
@ -3320,6 +3321,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
throughput:
|
throughput:
|
||||||
format: int32
|
format: int32
|
||||||
|
maximum: 2000
|
||||||
type: integer
|
type: integer
|
||||||
type:
|
type:
|
||||||
type: string
|
type: string
|
||||||
|
|
|
||||||
|
|
@ -554,11 +554,11 @@ properties of the persistent storage that stores Postgres data.
|
||||||
|
|
||||||
* **iops**
|
* **iops**
|
||||||
When running the operator on AWS the latest generation of EBS volumes (`gp3`)
|
When running the operator on AWS the latest generation of EBS volumes (`gp3`)
|
||||||
allows for configuring the number of IOPS. Maximum is 16000. Optional.
|
allows for configuring the number of IOPS. Maximum is 80000. Optional.
|
||||||
|
|
||||||
* **throughput**
|
* **throughput**
|
||||||
When running the operator on AWS the latest generation of EBS volumes (`gp3`)
|
When running the operator on AWS the latest generation of EBS volumes (`gp3`)
|
||||||
allows for configuring the throughput in MB/s. Maximum is 1000. Optional.
|
allows for configuring the throughput in MB/s. Maximum is 2000. Optional.
|
||||||
|
|
||||||
* **selector**
|
* **selector**
|
||||||
A label query over PVs to consider for binding. See the [Kubernetes
|
A label query over PVs to consider for binding. See the [Kubernetes
|
||||||
|
|
|
||||||
|
|
@ -3259,6 +3259,7 @@ spec:
|
||||||
properties:
|
properties:
|
||||||
iops:
|
iops:
|
||||||
format: int32
|
format: int32
|
||||||
|
maximum: 80000
|
||||||
type: integer
|
type: integer
|
||||||
isSubPathExpr:
|
isSubPathExpr:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
@ -3320,6 +3321,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
throughput:
|
throughput:
|
||||||
format: int32
|
format: int32
|
||||||
|
maximum: 2000
|
||||||
type: integer
|
type: integer
|
||||||
type:
|
type:
|
||||||
type: string
|
type: string
|
||||||
|
|
|
||||||
|
|
@ -3259,6 +3259,7 @@ spec:
|
||||||
properties:
|
properties:
|
||||||
iops:
|
iops:
|
||||||
format: int32
|
format: int32
|
||||||
|
maximum: 80000
|
||||||
type: integer
|
type: integer
|
||||||
isSubPathExpr:
|
isSubPathExpr:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
@ -3320,6 +3321,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
throughput:
|
throughput:
|
||||||
format: int32
|
format: int32
|
||||||
|
maximum: 2000
|
||||||
type: integer
|
type: integer
|
||||||
type:
|
type:
|
||||||
type: string
|
type: string
|
||||||
|
|
|
||||||
|
|
@ -167,9 +167,11 @@ type Volume struct {
|
||||||
StorageClass string `json:"storageClass,omitempty"`
|
StorageClass string `json:"storageClass,omitempty"`
|
||||||
SubPath string `json:"subPath,omitempty"`
|
SubPath string `json:"subPath,omitempty"`
|
||||||
IsSubPathExpr *bool `json:"isSubPathExpr,omitempty"`
|
IsSubPathExpr *bool `json:"isSubPathExpr,omitempty"`
|
||||||
Iops *int32 `json:"iops,omitempty"`
|
// +kubebuilder:validation:Maximum=80000
|
||||||
Throughput *int32 `json:"throughput,omitempty"`
|
Iops *int32 `json:"iops,omitempty"`
|
||||||
VolumeType string `json:"type,omitempty"`
|
// +kubebuilder:validation:Maximum=2000
|
||||||
|
Throughput *int32 `json:"throughput,omitempty"`
|
||||||
|
VolumeType string `json:"type,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// AdditionalVolume specs additional optional volumes for statefulset
|
// AdditionalVolume specs additional optional volumes for statefulset
|
||||||
|
|
|
||||||
|
|
@ -70,8 +70,8 @@ spec:
|
||||||
"cost_memory": 0.014375,
|
"cost_memory": 0.014375,
|
||||||
"free_iops": 3000,
|
"free_iops": 3000,
|
||||||
"free_throughput": 125,
|
"free_throughput": 125,
|
||||||
"limit_iops": 16000,
|
"limit_iops": 80000,
|
||||||
"limit_throughput": 1000,
|
"limit_throughput": 2000,
|
||||||
"postgresql_versions": [
|
"postgresql_versions": [
|
||||||
"18",
|
"18",
|
||||||
"17",
|
"17",
|
||||||
|
|
|
||||||
|
|
@ -86,9 +86,9 @@ COST_ELB = float(getenv('COST_ELB', 0.03)) # per hour
|
||||||
|
|
||||||
# maximum and limitation of IOPS and throughput
|
# maximum and limitation of IOPS and throughput
|
||||||
FREE_IOPS = float(getenv('FREE_IOPS', 3000))
|
FREE_IOPS = float(getenv('FREE_IOPS', 3000))
|
||||||
LIMIT_IOPS = float(getenv('LIMIT_IOPS', 16000))
|
LIMIT_IOPS = float(getenv('LIMIT_IOPS', 80000))
|
||||||
FREE_THROUGHPUT = float(getenv('FREE_THROUGHPUT', 125))
|
FREE_THROUGHPUT = float(getenv('FREE_THROUGHPUT', 125))
|
||||||
LIMIT_THROUGHPUT = float(getenv('LIMIT_THROUGHPUT', 1000))
|
LIMIT_THROUGHPUT = float(getenv('LIMIT_THROUGHPUT', 2000))
|
||||||
# get the default value of core and memory
|
# get the default value of core and memory
|
||||||
DEFAULT_MEMORY = getenv('DEFAULT_MEMORY', '300Mi')
|
DEFAULT_MEMORY = getenv('DEFAULT_MEMORY', '300Mi')
|
||||||
DEFAULT_MEMORY_LIMIT = getenv('DEFAULT_MEMORY_LIMIT', '300Mi')
|
DEFAULT_MEMORY_LIMIT = getenv('DEFAULT_MEMORY_LIMIT', '300Mi')
|
||||||
|
|
|
||||||
|
|
@ -28,8 +28,8 @@ default_operator_ui_config='{
|
||||||
"cost_memory": 0.014375,
|
"cost_memory": 0.014375,
|
||||||
"free_iops": 3000,
|
"free_iops": 3000,
|
||||||
"free_throughput": 125,
|
"free_throughput": 125,
|
||||||
"limit_iops": 16000,
|
"limit_iops": 80000,
|
||||||
"limit_throughput": 1000,
|
"limit_throughput": 2000,
|
||||||
"postgresql_versions": [
|
"postgresql_versions": [
|
||||||
"18",
|
"18",
|
||||||
"17",
|
"17",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue