- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 3,918 for lease (0.04 sec)
-
staging/src/k8s.io/api/coordination/v1beta1/generated.pb.go
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package func (m *Lease) Reset() { *m = Lease{} } func (*Lease) ProtoMessage() {} func (*Lease) Descriptor() ([]byte, []int) { return fileDescriptor_8d4e223b8bb23da3, []int{0} } func (m *Lease) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *Lease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { b = b[:cap(b)]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 24.1K bytes - Viewed (0) -
pilot/pkg/leaderelection/k8sleaderelection/leaderelection.go
klog.Infof("attempting to acquire leader lease %v...", desc) wait.JitterUntil(func() { succeeded = le.tryAcquireOrRenew(ctx) le.maybeReportTransition() if !succeeded { klog.V(4).Infof("failed to acquire lease %v", desc) return } le.config.Lock.RecordEvent("became leader") le.metrics.leaderOn(le.config.Name) klog.Infof("successfully acquired lease %v", desc) cancel()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 24 04:04:42 UTC 2023 - 16.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease.go
defer close(finishedReconciling) klog.Infof("Shutting down peer endpoint lease reconciler") // stop reconciliation c.reconciler.StopReconciling() // Ensure that there will be no race condition with the ReconcileEndpointLeases. if err := c.reconciler.RemoveLease(c.serverId); err != nil { klog.Errorf("Unable to remove peer endpoint leases: %v", err) } c.reconciler.Destroy() }() select {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 24 09:23:05 UTC 2023 - 12.3K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/node_authorizer_test.go
}, { name: "disallowed get lease in namespace other than kube-node-lease - feature enabled", attrs: authorizer.AttributesRecord{User: node0, ResourceRequest: true, Verb: "get", Resource: "leases", APIGroup: "coordination.k8s.io", Name: "node0", Namespace: "foo"}, expect: authorizer.DecisionNoOpinion, }, { name: "disallowed create lease in namespace other than kube-node-lease - feature enabled",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 40.5K bytes - Viewed (0) -
staging/src/k8s.io/api/coordination/v1beta1/zz_generated.prerelease-lifecycle.go
func (in *Lease) APILifecycleDeprecated() (major, minor int) { return 1, 19 } // APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. // It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go. func (in *Lease) APILifecycleReplacement() schema.GroupVersionKind {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 3.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/WorkerLeaseService.java
* the new lock is released and the old locks reacquired. * If a lock cannot be immediately (re)acquired, the current worker lease will be released and the method will block until the locks are (re)acquired. */ <T> T withReplacedLocks(Collection<? extends ResourceLock> currentLocks, ResourceLock newLock, Factory<T> factory); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 06:02:18 UTC 2024 - 3.4K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/operations/DefaultBuildOperationQueue.java
// condition where the pending count is 0, but a child worker lease is still held when // the parent lease is released. completeOperations( // Run while holding worker lease. workerLeases.runAsWorkerThread(() -> { if (allowAccessToProjectState) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 31 15:18:20 UTC 2023 - 10.4K bytes - Viewed (0) -
pilot/pkg/leaderelection/leaderelection.go
// 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) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultWorkerLeaseService.java
throw new IllegalStateException("Current thread is already a worker thread"); } DefaultWorkerLease lease = newWorkerLease(); coordinationService.withStateLock(lock(lease)); return lease; } @Override public WorkerLeaseCompletion maybeStartWorker() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 09 04:43:28 UTC 2024 - 20.9K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/operations/DefaultBuildOperationQueueTest.groovy
WorkerLeaseService workerRegistry WorkerLeaseRegistry.WorkerLeaseCompletion lease void setupQueue(int threads) { coordinationService = new DefaultResourceLockCoordinationService() workerRegistry = new DefaultWorkerLeaseService(coordinationService, new DefaultWorkerLimits(threads)) {} workerRegistry.startProjectExecution(true) lease = workerRegistry.startWorker()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 9.4K bytes - Viewed (0)