Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for holderKey (0.13 sec)

  1. pilot/pkg/leaderelection/k8sleaderelection/k8sresourcelock/interface.go

    	// a client voluntarily steps down.
    	HolderIdentity string `json:"holderIdentity"`
    	// HolderKey is the Key of the lease owner. This may be empty if a key is not set.
    	HolderKey            string      `json:"holderKey"`
    	LeaseDurationSeconds int         `json:"leaseDurationSeconds"`
    	AcquireTime          metav1.Time `json:"acquireTime"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 6K bytes
    - Viewed (0)
  2. pilot/pkg/leaderelection/leaderelection.go

    	}
    	if !l.perRevision {
    		// Function to use to decide whether this leader should steal the existing lock.
    		// This is disable when perRevision is used, as this enables the Lease. Lease doesn't have a holderKey field to place our key
    		// as holderKey is an Istio specific fork.
    		// While its possible to make it work with Lease as well (via an annotation to store it), we don't ever need prioritized
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. pilot/pkg/leaderelection/k8sleaderelection/leaderelection.go

    			// Lock is held and not expired, but our key is higher than the existing one.
    			// We will pre-empt the existing leader.
    			// nolint: lll
    			klog.V(4).Infof("lock is held by %v with key %v, but our key (%v) evicts it", oldLeaderElectionRecord.HolderIdentity, oldLeaderElectionRecord.HolderKey, le.config.Lock.Key())
    		} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 24 04:04:42 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  4. pilot/pkg/leaderelection/k8sleaderelection/leaderelection_test.go

    						return true, createLockObject(t, objectType, action.GetNamespace(), action.(fakeclient.GetAction).GetName(),
    							&rl.LeaderElectionRecord{HolderIdentity: "bing", HolderKey: "a"}), nil
    					},
    				},
    			},
    			observedTime: future,
    
    			expectSuccess: false,
    			outHolder:     "bing",
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 23 16:39:43 UTC 2023
    - 42.5K bytes
    - Viewed (0)
Back to top