Is it expected that endpoints remain in the service when the selector is removed in OpenShift Container Platform 4
Issue
- When removing the
selector
from aservice
, theendpoints
remain there and are not being removed. Is that behavior expected? - Running
oc patch service foobar-service -p "{\"spec\":{\"selector\": null}}"
won't remove theep
from theservice
.
Environment
- Red Hat OpenShift Container Platform (OCP) 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.