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
The HdfsCluster Custom Resource Definition (CRD) currently only allows specifying memory.limit under HdfsCluster.spec.nameNodes.config.resources.memory. This configuration automatically sets memory.request equal to memory.limit for pods.
Problem
This behavior is problematic for CI platforms with limited memory resources. Forcing the memory request to match the limit can lead to resource scheduling issues, making it difficult to run HdfsCluster pods in resource-constrained environments.
Desired Behavior
Allow users to independently set both memory.request and memory.limit under HdfsCluster.spec.nameNodes.config.resources. For example:
While the hdfs-operator does not support specifying the memory requests using a dedicated CRD field, you could try using podOverrides to achieve the same result:
Current Behavior
The
HdfsCluster
Custom Resource Definition (CRD) currently only allows specifyingmemory.limit
underHdfsCluster.spec.nameNodes.config.resources.memory
. This configuration automatically setsmemory.request
equal tomemory.limit
for pods.Problem
This behavior is problematic for CI platforms with limited memory resources. Forcing the memory
request
to match thelimit
can lead to resource scheduling issues, making it difficult to run HdfsCluster pods in resource-constrained environments.Desired Behavior
Allow users to independently set both
memory.request
andmemory.limit
underHdfsCluster.spec.nameNodes.config.resources
. For example:This flexibility ensures that pods can be scheduled even on CI platforms with tight resource constraints.
Proposed Solution
HdfsCluster
CRD to support separaterequest
andlimit
fields for memory underresources
.request
to the same value aslimit
ifrequest
is not explicitly set.Impact
This change would make the
HdfsCluster
CRD more usable in diverse environments, including CI platforms with restricted memory resources.Additional Context
This enhancement would enable more efficient use of resources while maintaining compatibility with existing configurations.
The text was updated successfully, but these errors were encountered: