Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewLeaderElectionMulticluster (0.22 sec)

  1. pilot/pkg/serviceregistry/kube/controller/multicluster.go

    				log.Infof("joining leader-election for %s in %s on cluster %s",
    					leaderelection.NamespaceController, options.SystemNamespace, options.ClusterID)
    				election := leaderelection.
    					NewLeaderElectionMulticluster(options.SystemNamespace, m.serverID, leaderelection.NamespaceController, m.revision, !configCluster, client).
    					AddRunFunction(func(leaderStop <-chan struct{}) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. pilot/pkg/leaderelection/leaderelection.go

    func NewPerRevisionLeaderElection(namespace, name, electionID, revision string, client kube.Client) *LeaderElection {
    	return newLeaderElection(namespace, name, electionID, revision, true, false, client)
    }
    
    func NewLeaderElectionMulticluster(namespace, name, electionID, revision string, remote bool, client kube.Client) *LeaderElection {
    	return newLeaderElection(namespace, name, electionID, revision, false, remote, client)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top