Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

How to modify system-reserved parameters on OpenShift nodes

Optimizing cluster stability

October 24, 2025
Sathish Kumar Hemadhri
Related topics:
ContainersKubernetes
Related products:
Red Hat OpenShiftRed Hat OpenShift Container Platform

    This article explains the steps for calculating the system-reserved values for OpenShift nodes and configuring the values for optimal performance of the platform. This will prevent node resource overcommitment and enhance the overall efficiency of your Red Hat OpenShift environment.

    Implementation steps

    This section details the steps to optimize cluster stability. We’ll demonstrate how to reserve CPU and memory resources for underlying node components and other system components to ensure reliable scheduling and prevent node resource overcommitment.

    Step 1:

    Reserve a portion of the CPU and memory resources for use by the underlying node components, such as kubelet and kube-proxy, and the remaining system components, such as sshd and NetworkManager. By specifying the resources to reserve, you provide the scheduler with more information about the remaining CPU and memory resources that a node has available for use by pods.

    Example output:

    The following example outlines the recommended optimal values for system-reserved resources. Once these values are confirmed as appropriate for your environment, please proceed to update the configuration accordingly.

    shemadhr@shemadhr-mac ~ % oc debug node/worker-2.testocp.lab.psi.pnq2.redhat.com
    Temporary namespace openshift-debug-vk22l is created for debugging node...
    Starting pod/worker-2testocplabpsipnq2redhatcom-debug-9zjq9 ...
    To use host binaries, run `chroot /host`
    Pod IP: 10.74.215.42
    If you don't see a command prompt, try pressing enter.
    sh-5.1#
    sh-5.1# chroot /host bash
    [root@worker-2 /]#
    [root@worker-2 /]# cat /etc/node-sizing
    node-sizing-enabled.env   node-sizing-version.json  node-sizing.env
    [root@worker-2 /]# cat /etc/node-sizing.env
    SYSTEM_RESERVED_MEMORY=1Gi
    SYSTEM_RESERVED_CPU=500m
    SYSTEM_RESERVED_ES=1Gi
    [root@worker-2 /]# NODE_SIZES_ENV=/tmp/node-sizing.txt /usr/local/sbin/dynamic-system-reserved-calc.sh true
    [root@worker-2 /]#
    [root@worker-2 /]# cat /tmp/node-sizing.txt
    SYSTEM_RESERVED_MEMORY=2Gi
    SYSTEM_RESERVED_CPU=0.08
    SYSTEM_RESERVED_ES=1Gi

    Step 2:

    You can also calculate recommended system-reserved values by referring to the guidelines provided in this article. The following are the available methods to review the current configuration of system-reserved parameters.

    Option 1:

    For reference, I have reviewed one of the worker nodes where the system-reserved configuration is currently set to the default values: 500m CPU and 1Gi Memory. You can verify this by comparing the CPU and memory under Capacity and Allocatable section of the node description.

    Hostname:    worker-2.testocp.lab.psi.pnq2.redhat.com
    
    Capacity:
      cpu:                16
      ephemeral-storage:  313981932Ki
      hugepages-1Gi:      0
      hugepages-2Mi:      0
      memory:             98875428Ki
      pods:               250
    
    Allocatable:
      cpu:                15500m
      ephemeral-storage:  288292006229
      hugepages-1Gi:      0
      hugepages-2Mi:      0
      memory:             97724452Ki
      pods:               250

    Option 2:

    To verify the system-reserved resource allocations on a node, you can SSH /debug into the node and inspect the file /etc/node-sizing.env, which contains the configured values.

    [root@registry ~]# oc get no
    NAME                                       STATUS   ROLES                  AGE   VERSION
    master-0.testocp.lab.psi.pnq2.redhat.com   Ready    control-plane,master   6d    v1.29.11+ef2a55c
    master-1.testocp.lab.psi.pnq2.redhat.com   Ready    control-plane,master   6d    v1.29.11+ef2a55c
    master-2.testocp.lab.psi.pnq2.redhat.com   Ready    control-plane,master   6d    v1.29.11+ef2a55c
    worker-0.testocp.lab.psi.pnq2.redhat.com   Ready    worker                 6d    v1.29.11+ef2a55c
    worker-1.testocp.lab.psi.pnq2.redhat.com   Ready    worker                 6d    v1.29.11+ef2a55c
    worker-2.testocp.lab.psi.pnq2.redhat.com   Ready    worker                 6d    v1.29.11+ef2a55c
    [root@registry ~]# oc debug node/worker-1.testocp.lab.psi.pnq2.redhat.com
    Starting pod/worker-1testocplabpsipnq2redhatcom-debug-47g6t ...
    To use host binaries, run `chroot /host`
    sh-5.1# chroot /host bash
    [root@worker-1 /]#
    [root@worker-1 /]# cat /etc/node-sizing.env
    SYSTEM_RESERVED_MEMORY=1Gi
    SYSTEM_RESERVED_CPU=500m
    SYSTEM_RESERVED_ES=1Gi
    [root@worker-1 /]#

    Step 3:

    You can allow the Red Hat OpenShift Container Platform to automatically determine the optimal system-reserved CPU and memory resources for your nodes or you can manually determine and set the best resources for your nodes.

    If the automatic allocation of resources is not enabled, it is possible to check the values it will generate for a specific node using the script already included in the MachineConfigs starting with 00 in current OpenShift releases as follows.

    $ oc debug node/[node_name] [...]
    sh-4.4# chroot /host bash
    # NODE_SIZES_ENV=/tmp/node-sizing.txt /usr/local/sbin/dynamic-system-reserved-calc.sh true 
    # cat /tmp/node-sizing.txt
    SYSTEM_RESERVED_MEMORY=2Gi
    SYSTEM_RESERVED_CPU=0.10
    SYSTEM_RESERVED_ES=1Gi

    Summary

    This article provided a guide to optimizing cluster stability by modifying system-reserved parameters on OpenShift nodes. We demonstrated the process of calculating and configuring these values to ensure optimal platform performance and reliable scheduling, thereby preventing node resource overcommitment and enhancing overall efficiency. We also provided methods for reviewing current system-reserved parameter configurations and offered guidance on automatic and manual resource allocation. By following these instructions, you can achieve more efficiency and cluster stability in your OpenShift environments.

    Recent Posts

    • Federated identity across the hybrid cloud using zero trust workload identity manager

    • Confidential virtual machine storage attack scenarios

    • Introducing virtualization platform autopilot

    • Integrate zero trust workload identity manager with Red Hat OpenShift GitOps

    • Best Practice Configuration and Tuning for Linux and Windows VMs

    What’s up next?

    A Function as a Service (FaaS) object can be used to process data on an as-needed basis, which limits costs, since you only pay for the CPU cycles you need. In this learning path, you will learn how to implement a back-end function and a front-end web application, then use a FaaS object to process data.

    Start the activity
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.