mongodb / mongodb-kubernetes-operator

MongoDB Community Kubernetes Operator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tried to disable hugepages and increase Ulimits

kapendra-sentieo opened this issue · comments

What did you do to encounter the bug?
I am looking for setting up the below items for my MongoDB Setup:

  1. Disable Transparent huge pages
  2. setup a custom ulimit for mongoDB
  3. Backup solution
  4. Any guidelines to run this CRD setup for the production environment and best practices?

What did you expect?

  1. By putting up the below code I was hoping to get my huge pages disabled but it's not working
            - name: DISABLE_TRANSPARENT_HUGEPAGES
              value: "1"
  1. for ulimit I worked with a cm to pass u limits into pods but not working.
apiVersion: v1
kind: ConfigMap
metadata:
  name: mongodb-ulimit
data:
  mongodb-ulimit.conf: |
    * soft nofile 65536
    * hard nofile 65536
    * soft nproc 65536
    * hard nproc 65536
  1. As an Admin I wanted to design a backup solution on mongo

What happened instead?
I was not to get the expected value for ulimits and I was not able to verify DISABLE_TRANSPARENT_HUGEPAGES were disabled

Operator Information

  • Operator Version - 4.4.17
  • MongoDB Image used - 4.4.17

Kubernetes Cluster Information

  • Distribution - Kubernetes
  • Version - v1.21.5
  • Image Registry location - dockerhub

any update?

do we have any update on this

This issue is being marked stale because it has been open for 60 days with no activity. Please comment if this issue is still affecting you. If there is no change, this issue will be closed in 30 days.

This issue was closed because it became stale and did not receive further updates. If the issue is still affecting you, please re-open it, or file a fresh Issue with updated information.