Translated message

A translation of this page exists in English.

设置OCP4 CRI-O的日志轮换

Solution Verified - Updated -

Issue

  • 如何在 CRI-O 中设置日志轮换策略
  • kubelet 负责日志轮转,它会覆盖 crio.conf 的值
  • 如何设置容器日志文件的最大值
  • 如何更改默认的无限制的日志文件大小
  • 如何在 OCP4 中设置 CRI-O 的 log_size_max

Environment

  • Openshift 容器平台 4.x [OCP]

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