Skip to content

Commit

Permalink
contrib: make indexer service headless
Browse files Browse the repository at this point in the history
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 <joseph.crosland@gmail.com>
  • Loading branch information
crozzy committed Nov 23, 2021
1 parent 3af1593 commit e2ff9a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/openshift/manifests/manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ objects:
protocol: TCP
port: 8089
targetPort: ${{INTROSPECTION_PORT}}
clusterIP: None
selector:
service: indexer
app: clair
Expand Down

0 comments on commit e2ff9a6

Please sign in to comment.