Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • View All Red Hat Products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Secure Development & Architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • Product Documentation
    • API Catalog
    • Legacy Documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

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

Share:

    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

    • How to modify system-reserved parameters on OpenShift nodes

    • The odo CLI is deprecated: What developers need to know

    • Exposing OpenShift networks using BGP

    • Camel integration quarterly digest: Q3 2025

    • How to run I/O workloads on OpenShift Virtualization 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
    © 2025 Red Hat

    Red Hat legal and privacy links

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

    Report a website issue