Skip to content

Commit

Permalink
Change headless to normal ClusterIP to do loadbalancing for readreplica
Browse files Browse the repository at this point in the history
  • Loading branch information
ykadowak committed Dec 5, 2023
1 parent e08f67d commit e65201e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions charts/vald/templates/agent/readreplica/svc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ spec:
selector:
app: {{ $readreplica.name }}-{{ $id }}
app.kubernetes.io/name: {{ $valdname }}
{{- if eq $agent.serviceType "ClusterIP" }}
clusterIP: None
{{- end }}
type: {{ $agent.serviceType }}
{{- if $agent.externalTrafficPolicy }}
externalTrafficPolicy: {{ $agent.externalTrafficPolicy }}
Expand Down

0 comments on commit e65201e

Please sign in to comment.