Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 126 for Lease (0.05 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy_handler_test.go

    				gvr: schema.GroupVersionResource{
    					Group:    "core",
    					Version:  "bar",
    					Resource: "baz"},
    				serverId: ""},
    		},
    		{
    			desc:                 "503 if no endpoint fetched from lease",
    			requestPath:          "/api/foo/bar",
    			expectedStatus:       http.StatusServiceUnavailable,
    			informerFinishedSync: true,
    			svdata: FakeSVMapData{
    				gvr: schema.GroupVersionResource{
    					Group:    "core",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. cmd/kubemark/app/hollow_node.go

    		heartbeatClientConfig := *clientConfig
    		heartbeatClientConfig.Timeout = c.NodeStatusUpdateFrequency.Duration
    		// The timeout is the minimum of the lease duration and status update frequency
    		leaseTimeout := time.Duration(c.NodeLeaseDurationSeconds) * time.Second
    		if heartbeatClientConfig.Timeout > leaseTimeout {
    			heartbeatClientConfig.Timeout = leaseTimeout
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/types.go

    	// frequency and post node status immediately if any change is detected. It is
    	// only used when node lease feature is enabled.
    	NodeStatusReportFrequency metav1.Duration
    	// nodeLeaseDurationSeconds is the duration the Kubelet will set on its corresponding Lease.
    	NodeLeaseDurationSeconds int32
    	// ImageMinimumGCAge is the minimum age for an unused image before it is
    	// garbage collected.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  4. platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/internal/ProjectBuilderImpl.java

            BuildScopeServices buildServices = build.getBuildServices();
            buildServices.get(BuildStateRegistry.class).attachRootBuild(build);
    
            // Take a root worker lease; this won't ever be released as ProjectBuilder has no lifecycle
            ResourceLockCoordinationService coordinationService = buildServices.get(ResourceLockCoordinationService.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:36 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. pkg/config/schema/metadata.yaml

        group: "networking.k8s.io"
        version: "v1"
        builtin: true
        clusterScoped: true
        proto: "k8s.io.api.networking.v1.IngressClassSpec"
        protoPackage: "k8s.io/api/networking/v1"
    
      - kind: "Lease"
        plural: "leases"
        group: "coordination.k8s.io"
        version: "v1"
        builtin: true
        proto: "k8s.io.api.coordination.v1.LeaseSpec"
        protoPackage: "k8s.io/api/coordination/v1"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. cmd/kube-scheduler/app/options/options.go

    	leaderelection := o.Flags.FlagSet("leader election")
    	if leaderelection.Changed("leader-elect") {
    		cfg.LeaderElection.LeaderElect = o.LeaderElection.LeaderElect
    	}
    	if leaderelection.Changed("leader-elect-lease-duration") {
    		cfg.LeaderElection.LeaseDuration = o.LeaderElection.LeaseDuration
    	}
    	if leaderelection.Changed("leader-elect-renew-deadline") {
    		cfg.LeaderElection.RenewDeadline = o.LeaderElection.RenewDeadline
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 17:06:29 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet.go

    	ImageGCPeriod = 5 * time.Minute
    
    	// Minimum number of dead containers to keep in a pod
    	minDeadContainerInPod = 1
    
    	// nodeLeaseRenewIntervalFraction is the fraction of lease duration to renew the lease
    	nodeLeaseRenewIntervalFraction = 0.25
    
    	// instrumentationScope is the name of OpenTelemetry instrumentation scope
    	instrumentationScope = "k8s.io/kubernetes/pkg/kubelet"
    )
    
    var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  8. cmd/kube-scheduler/app/server.go

    		if err != nil {
    			return fmt.Errorf("couldn't create leader elector: %v", err)
    		}
    
    		leaderElector.Run(ctx)
    
    		return fmt.Errorf("lost lease")
    	}
    
    	// Leader election is disabled, so runCommand inline until done.
    	close(waitingForLeader)
    	sched.Run(ctx)
    	return fmt.Errorf("finished without leader elect")
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/crdclient/types.gen.go

    				Generation:        obj.Generation,
    			},
    			Spec:   &obj.Spec,
    			Status: &obj.Status,
    		}
    	},
    	gvk.Lease: func(r runtime.Object) config.Config {
    		obj := r.(*k8sioapicoordinationv1.Lease)
    		return config.Config{
    			Meta: config.Meta{
    				GroupVersionKind:  gvk.Lease,
    				Name:              obj.Name,
    				Namespace:         obj.Namespace,
    				Labels:            obj.Labels,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  10. pkg/printers/internalversion/printers_test.go

    		}
    	}
    }
    
    func TestPrintLease(t *testing.T) {
    	holder1 := "holder1"
    	holder2 := "holder2"
    	tests := []struct {
    		lease    coordination.Lease
    		expected []metav1.TableRow
    	}{
    		{
    			lease: coordination.Lease{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:              "lease1",
    					CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
Back to top