You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Custom Resource Configuration Not Applied to Memory-Related Parameters (e.g., innodb_buffer_pool_size) in Pod Configuration Rendering
When creating a cluster using KubeBlocks' instances API, one of the Pods is configured with custom resource configurations (e.g., higher CPU and memory). However, during the configuration rendering process for this Pod, the custom resource configuration is not considered.
For example, memory-related parameters such as innodb_buffer_pool_size are not dynamically adjusted based on the custom memory configuration of the Pod. Instead, the default resource settings seem to be applied uniformly across all Pods, regardless of their individual resource configurations.
This results in suboptimal configurations for Pods that are specifically designed to handle higher workloads due to their custom resource allocations.
To Reproduce
Use the instances API to create a cluster. Configure one of the Pods with custom resource settings (e.g., higher memory allocation).
Deploy the cluster and inspect the rendered configuration for the Pod with custom resources. Observe that parameters like innodb_buffer_pool_size do not reflect the custom memory configuration.
$ k exec -it -n demo example-mysql-cluster-mysql-custom-0 -- mysql -uroot -p5GGJU7869p
mysql> show variables like 'innodb_buffer_pool_size';
+-------------------------+-----------+
| Variable_name | Value |
+-------------------------+-----------+
| innodb_buffer_pool_size | 134217728 |
+-------------------------+-----------+
$ k exec -it -n demo example-mysql-cluster-mysql-0 -- mysql -uroot -p5GGJU7869p
mysql> show variables like 'innodb_buffer_pool_size';
+-------------------------+-----------+
| Variable_name | Value |
+-------------------------+-----------+
| innodb_buffer_pool_size | 134217728 |
+-------------------------+-----------+
Expected behavior
When rendering the configuration for a Pod with custom resource settings, parameters such as innodb_buffer_pool_size should be dynamically adjusted based on the Pod's allocated memory. This ensures that the Pod's configuration utilizes its resources effectively.
Actual Behavior
The configuration for the Pod does not consider its custom resource settings. Memory-related parameters remain set to default values, leading to inefficient resource utilization.
Desktop (please complete the following information):
KubeBlocks 1.0.0-beta.26
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
Custom Resource Configuration Not Applied to Memory-Related Parameters (e.g., innodb_buffer_pool_size) in Pod Configuration Rendering
When creating a cluster using KubeBlocks' instances API, one of the Pods is configured with custom resource configurations (e.g., higher CPU and memory). However, during the configuration rendering process for this Pod, the custom resource configuration is not considered.
For example, memory-related parameters such as innodb_buffer_pool_size are not dynamically adjusted based on the custom memory configuration of the Pod. Instead, the default resource settings seem to be applied uniformly across all Pods, regardless of their individual resource configurations.
This results in suboptimal configurations for Pods that are specifically designed to handle higher workloads due to their custom resource allocations.
To Reproduce
Expected behavior
When rendering the configuration for a Pod with custom resource settings, parameters such as innodb_buffer_pool_size should be dynamically adjusted based on the Pod's allocated memory. This ensures that the Pod's configuration utilizes its resources effectively.
Actual Behavior
The configuration for the Pod does not consider its custom resource settings. Memory-related parameters remain set to default values, leading to inefficient resource utilization.
Desktop (please complete the following information):
KubeBlocks 1.0.0-beta.26
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: