在断开连接的集群中使用 oc debug node
Issue
目前,在断开连接的环境中使用 oc debug node
会出现问题,因为它默认使用 registry.redhat.io/rhel8/support-tools:latest 镜像(需要互联网连接)。镜像需要使用 image:tag 进行拉取,因此 ImageContentSourcePolicy
无法正常工作。
如需更多信息,请参阅 Bugzilla ID 1728135。
但是,oc debug 有一个用于指定不同镜像的 --image
参数。
Environment
没有互联网连接到 registry.redhat.io 的 OpenShift 4 集群(通常是一个断开连接的环境或隔离 (airgap)环境)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.