Skip to content

Commit

Permalink
[cloudprober] set service externalTrafficPolicy to Local (#7177)
Browse files Browse the repository at this point in the history
  • Loading branch information
defo89 authored Oct 8, 2024
1 parent 55803a1 commit e125062
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus-exporters/cloudprober/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: cloudprober
version: 0.12.1
version: 0.12.2
description: https://github.com/cloudprober/cloudprober
maintainers:
- name: Martin Vossen
Expand Down
2 changes: 2 additions & 0 deletions prometheus-exporters/cloudprober/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ metadata:
app: cloudprober-{{ printf "%s" $prober.dc | replace "-" "" }}

spec:
type: LoadBalancer
externalTrafficPolicy: Local
selector:
name: cloudprober-{{ printf "%s" $prober.dc | replace "-" "" }}
externalIPs:
Expand Down

0 comments on commit e125062

Please sign in to comment.