- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for renewDeadline (0.5 sec)
-
operator/cmd/operator/server.go
if !leaderElectionEnabled { log.Warn("Leader election namespace not set. Leader election is disabled. NOT APPROPRIATE FOR PRODUCTION USE!") } // renewDeadline cannot be greater than leaseDuration renewDeadline := getRenewDeadline() leaseDuration := time.Duration(renewDeadline.Nanoseconds() * 2) // Get a config to talk to the apiserver cfg, err := config.GetConfig() if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 30 21:09:08 UTC 2023 - 7.6K bytes - Viewed (0) -
pilot/pkg/leaderelection/k8sleaderelection/k8sresourcelock/interface.go
// Timeout set for a client used to contact to Kubernetes should be lower than // RenewDeadline to keep a single hung request from forcing a leader loss. // Setting it to max(time.Second, RenewDeadline/2) as a reasonable heuristic. // nolint: lll func NewFromKubeconfig(lockType string, ns string, name string, rlc ResourceLockConfig, kubeconfig *restclient.Config, renewDeadline time.Duration) (Interface, error) { // shallow copy, do not modify the kubeconfig
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 6K bytes - Viewed (0) -
pilot/pkg/leaderelection/leaderelection.go
LockConfig: k8sresourcelock.ResourceLockConfig{ Identity: l.name, }, } } config := k8sleaderelection.LeaderElectionConfig{ Lock: lock, LeaseDuration: l.ttl, RenewDeadline: l.ttl / 2, RetryPeriod: l.ttl / 4, Callbacks: callbacks, // When Pilot exits, the lease will be dropped. This is more likely to lead to a case where
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 9.7K bytes - Viewed (0) -
releasenotes/notes/27509.yaml
apiVersion: release-notes/v2 kind: bug-fix area: installation issue: - 27509 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 20 22:45:05 UTC 2020 - 172 bytes - Viewed (0) -
releasenotes/notes/27509-lease-duration.yaml
apiVersion: release-notes/v2 kind: bug-fix area: installation issue: - 27509 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 20 17:09:08 UTC 2021 - 222 bytes - Viewed (0)