Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
chore: add cache sync timeout setting to chart
Browse files Browse the repository at this point in the history
  • Loading branch information
zqzten committed Oct 15, 2021
1 parent ba0d91d commit c1accac
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/kubefed/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ chart and their default values.
| controllermanager.featureGates.SchedulerPreferences | Scheduler preferences feature. | true |
| controllermanager.clusterAvailableDelay | Time to wait before reconciling on a healthy cluster. | 20s |
| controllermanager.clusterUnavailableDelay | Time to wait before giving up on an unhealthy cluster. | 60s |
| controllermanager.cacheSyncTimeout | Time to wait for all caches to sync before exit. | 5m |
| controllermanager.leaderElectLeaseDuration | The maximum duration that a leader can be stopped before it is replaced by another candidate. | 15s |
| controllermanager.leaderElectRenewDeadline | The interval between attempts by the acting master to renew a leadership slot before it stops leading. This must be less than or equal to `controllermanager.LeaderElectLeaseDuration. | 10s |
| controllermanager.leaderElectRetryPeriod | The duration the clients should wait between attempting acquisition and renewal of a leadership. | 5s |
Expand Down
3 changes: 3 additions & 0 deletions charts/kubefed/charts/controllermanager/crds/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,9 @@ spec:
availableDelay:
description: Time to wait before reconciling on a healthy cluster.
type: string
cacheSyncTimeout:
description: Time to wait for all caches to sync before exit.
type: string
unavailableDelay:
description: Time to wait before giving up on an unhealthy cluster.
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ spec:
controllerDuration:
availableDelay: {{ .Values.clusterAvailableDelay | default "20s" | quote }}
unavailableDelay: {{ .Values.clusterUnavailableDelay | default "60s" | quote }}
cacheSyncTimeout: {{ .Values.cacheSyncTimeout | default "5m" | quote }}
leaderElect:
leaseDuration: {{ .Values.leaderElectLeaseDuration | default "15s" | quote }}
renewDeadline: {{ .Values.leaderElectRenewDeadline | default "10s" | quote }}
Expand Down
1 change: 1 addition & 0 deletions charts/kubefed/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ controllermanager:
enabled: true
clusterAvailableDelay:
clusterUnavailableDelay:
cacheSyncTimeout:
leaderElectLeaseDuration:
leaderElectRenewDeadline:
leaderElectRetryPeriod:
Expand Down

0 comments on commit c1accac

Please sign in to comment.