From e2ff9a6b1545dffaed61c939727ddcdc6e3b03ec Mon Sep 17 00:00:00 2001 From: crozzy Date: Tue, 23 Nov 2021 11:36:26 -0800 Subject: [PATCH] contrib: make indexer service headless When using the default clusterIP values for a service that is pointing to a statefulSet, the traffic is routed to one pod. Using a headless service should allow traffic to be evenly routed to all pods. Signed-off-by: crozzy --- contrib/openshift/manifests/manifests.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/openshift/manifests/manifests.yaml b/contrib/openshift/manifests/manifests.yaml index f787b95567..d78ae5a133 100644 --- a/contrib/openshift/manifests/manifests.yaml +++ b/contrib/openshift/manifests/manifests.yaml @@ -238,6 +238,7 @@ objects: protocol: TCP port: 8089 targetPort: ${{INTROSPECTION_PORT}} + clusterIP: None selector: service: indexer app: clair