Host-network pods can't reach services that point at other services

Solution Verified - Updated -

Issue

  • When a host-networked pod tries to access a Service that is backed by an EndpointSlice, the connection fails.
  • I am using a service without a selector and a custom endpoint slice to target something other than pods.
  • What is a minimal way to let an OCP4 service target another OCP4 service in another project?

Environment

  • OpenShift Container Platform 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