selectdb / doris-operator

Doris kubernetes operator
Apache License 2.0
66 stars 33 forks source link

[Feature] pre initial config of host for deploy doris #48

Closed intelligentfu closed 7 months ago

intelligentfu commented 8 months ago

present situation

Now Doris deployed host has some restrictive limits for deploying. for example: vm.max_map_count, ulimit -n swapoff -a For the user environment, These limits have not been initialed. If not, users should configure these by themself. It is a burden to manage these limits. Doris-Operator should pre-config restrictive limits.

Solution

CRD set a field DisableDefaultPreInitial construct initContainer for the initial config of the host.