Skip to content

Commit d95bf4f

Browse files
committed
fix(watchers): increase default watcher timeout to 3600 seconds
- Updated the default watcher timeout from 1800 to 3600 seconds for improved resource monitoring. - Cleaned up Helm chart by removing unnecessary volume and volumeMount configurations. No breaking changes.
1 parent 7861013 commit d95bf4f

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

src/ES.Kubernetes.Reflector/Core/Watchers/WatcherBackgroundService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public abstract class WatcherBackgroundService<TResource, TResourceList>(
2020
protected readonly ILogger Logger = logger;
2121
protected readonly IMediator Mediator = mediator;
2222

23-
protected int WatcherTimeout => options.CurrentValue.Watcher?.Timeout ?? 1800;
23+
protected int WatcherTimeout => options.CurrentValue.Watcher?.Timeout ?? 3600;
2424

2525
protected override async Task ExecuteAsync(CancellationToken stoppingToken)
2626
{

src/helm/reflector/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ spec:
8383
tolerations:
8484
{{- toYaml . | nindent 8 }}
8585
{{- end }}
86-
{{ - with .Values.volumes }}
86+
{{- with .Values.volumes }}
8787
volumes:
8888
{{- toYaml . | nindent 8}}
8989
{{- end }}

src/helm/reflector/values.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,6 @@ topologySpreadConstraints: []
117117

118118
priorityClassName: ""
119119

120-
#mount external persistent/ephemeral storage to required locations if readOnlyRootFileSystem=true
121-
volumes:
122-
- name: tmp
123-
emptyDir: {}
124-
125-
volumeMounts:
126-
- name: tmp
127-
mountPath: /tmp
120+
volumes: []
121+
122+
volumeMounts: []

0 commit comments

Comments
 (0)