Skip to content

Commit

Permalink
Add endpoint-updates-batch-period flag to controller manager (#923)
Browse files Browse the repository at this point in the history
* Add endpoint-updates-batch-period flag to controller manager

* Bump chart version
  • Loading branch information
jknipper authored Jun 18, 2024
1 parent ca449a3 commit 271a6c7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kube-master/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v1
description: A Helm chart for Kubernetes
name: kube-master
version: 2.1.8
version: 2.1.9
3 changes: 3 additions & 0 deletions charts/kube-master/templates/controller-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ spec:
- --use-service-account-credentials
- --pv-recycler-pod-template-filepath-hostpath=/etc/kubernetes/config/pv-recycler-template
- --pv-recycler-pod-template-filepath-nfs=/etc/kubernetes/config/pv-recycler-template
{{- if .Values.controllerManager.endpointUpdatePeriod }}
- --endpoint-updates-batch-period={{ .Values.controllerManager.endpointUpdatePeriod }}
{{- end }}
livenessProbe:
httpGet:
path: /healthz
Expand Down
2 changes: 2 additions & 0 deletions charts/kube-master/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ cloudControllerManager:

controllerManager:
replicaCount: 1
# addresses endpoint issue https://github.com/kubernetes/kubernetes/issues/117193
endpointUpdatePeriod: 3s
resources:
requests:
cpu: 100m
Expand Down

0 comments on commit 271a6c7

Please sign in to comment.