Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controller memory warnings #34

Open
ipilcher opened this issue Jun 10, 2022 · 1 comment
Open

Controller memory warnings #34

ipilcher opened this issue Jun 10, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@ipilcher
Copy link

I'm consistently seeing warnings about the amount of available memory on the controllers (masters), for example:

System memory usage of 1.266G on Node (N) ocp4-master1.aio.example.com exceeds 95% of the reservation.

The warning goes away when I increase the VM memory to 20G, so it seems like the reserved memory amount is auto-calculated from the node's total memory (but I can find no documentation of the calculation anywhere). Should the memory of the masters be bumped up to 20G?

@ipilcher ipilcher added the enhancement New feature or request label Jun 10, 2022
@ipilcher
Copy link
Author

Upon further research, it looks like OpenShift is setting a default value of 1GB in /etc/node-sizing.env, which is included as an environment file by the kubelet.service unit file. So the warning probably went away simply because I rebooted the node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant