How to prevent node drain when using ImageContentSourcePolicy objects in OCP 4?

Solution Verified - Updated -

Issue

  • Setting up container registry repository mirroring requires the use of an ImageContentSourcePolicy object.
  • Applying an ImageContentSourcePolicy object will drain the node or not, depending on the cluster version and how the file /etc/containers/registries.conf is modified in the node.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

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