Housekeeping of /sysroot on Red Hat OpenShift Container Platform

Solution Verified - Updated -

Issue

  • Services are failing to start due to an error no space left on the node.
  • Unable to debug to the node due to no space on the /sysroot.
  • How to remove the unwanted images,logs/tmp files from /sysroot ?
  • How to clear space from /sysroot or subfolders of /sysroot filesystem from RHCOS node?

Environment

  • Red Hat OpenShift Container Platform [RHOCP]
    • 4
  • Red Hat Core OS [RHCOS]

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content