Service without selector has a wrong endpointslice

Solution In Progress - Updated -

Issue

  • A service that was created with selector but its selector was removed. All the manually configured endpoints are reachable but there are intermittent connectivity problems while using cluster IP.
  • iptables (on openshift-sdn) or OVN load balancers (on OVN-Kubernetes) balance to IPs that don't belong to the service.
  • The situation described in "diagnostic steps" is met. Please do check the diagnostic steps because, otherwise, this solution doesn't apply

Environment

  • Red Hat OpenShift Container Platform 4.x

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