Skip to content

Commit

Permalink
Metrics service only target the default shard
Browse files Browse the repository at this point in the history
  • Loading branch information
manno committed Apr 23, 2024
1 parent dceb784 commit 094902b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/fleet/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ spec:
labels:
app: fleet-controller
shard: "{{ . }}"
{{- if empty . }}
shard-default: "true"
{{- end }}
spec:
containers:
- env:
Expand Down
1 change: 1 addition & 0 deletions charts/fleet/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ spec:
name: metrics
selector:
app: fleet-controller
shard-default: "true"
{{- end }}

0 comments on commit 094902b

Please sign in to comment.