Skip to main content

LeaderElectionOptions

@webda/kubernetes


Interface: LeaderElectionOptions

Defined in: kubernetes/src/operator/leader.ts:7

Options of a leader election

Properties​

identity​

identity: string

Defined in: kubernetes/src/operator/leader.ts:19

Identity of this candidate


leaseDuration?​

optional leaseDuration?: number

Defined in: kubernetes/src/operator/leader.ts:24

Milliseconds a lease is valid without renewal

Default​

15000

name​

name: string

Defined in: kubernetes/src/operator/leader.ts:11

Name of the Lease


namespace​

namespace: string

Defined in: kubernetes/src/operator/leader.ts:15

Namespace of the Lease


retryPeriod?​

optional retryPeriod?: number

Defined in: kubernetes/src/operator/leader.ts:29

Milliseconds between two attempts to acquire or renew the lease

Default​

5000