Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 168 for lease (0.08 sec)

  1. cmd/kube-apiserver/app/options/options_test.go

    		"--proxy-client-key-file=/var/run/kubernetes/proxy.key",
    		"--request-timeout=2m",
    		"--storage-backend=etcd3",
    		"--service-cluster-ip-range=192.168.128.0/17",
    		"--lease-reuse-duration-seconds=100",
    	}
    	fs.Parse(args)
    
    	// This is a snapshot of expected options parsed by args.
    	expected := &ServerRunOptions{
    		Options: &controlplaneapiserver.Options{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. pkg/config/constants/constants.go

    	KubePublicNamespace string = "kube-public"
    
    	// KubeNodeLeaseNamespace is the namespace for the lease objects associated with each kubernetes node.
    	KubeNodeLeaseNamespace string = "kube-node-lease"
    
    	// LocalPathStorageNamespace is the namespace for dynamically provisioning persistent local storage with
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    			expectAttachedCount: 1,
    		},
    		{
    			key:                 "testkey2",
    			expectAttachedCount: 2,
    		},
    		{
    			key: "testkey3",
    			// We assume each time has 1 object attached to the lease
    			// so after granting a new lease, the recorded count is set to 1
    			expectAttachedCount: 1,
    		},
    	}
    
    	for _, tc := range testCases {
    		err := store.Create(ctx, tc.key, obj, out, 120)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. pkg/controlplane/apiserver/options/options_test.go

    		"--proxy-client-cert-file=/var/run/kubernetes/proxy.crt",
    		"--proxy-client-key-file=/var/run/kubernetes/proxy.key",
    		"--request-timeout=2m",
    		"--storage-backend=etcd3",
    		"--lease-reuse-duration-seconds=100",
    	}
    	fs.Parse(args)
    
    	// This is a snapshot of expected options parsed by args.
    	expected := &Options{
    		GenericServerRunOptions: &apiserveroptions.ServerRunOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)},
    				},
    				Spec: coordination.LeaseSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  7. cmd/kubelet/app/server.go

    		heartbeatClientConfig := *clientConfig
    		heartbeatClientConfig.Timeout = s.KubeletConfiguration.NodeStatusUpdateFrequency.Duration
    		// The timeout is the minimum of the lease duration and status update frequency
    		leaseTimeout := time.Duration(s.KubeletConfiguration.NodeLeaseDurationSeconds) * time.Second
    		if heartbeatClientConfig.Timeout > leaseTimeout {
    			heartbeatClientConfig.Timeout = leaseTimeout
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.27.md

      KEPs or supporting documentation, please reference a specific commit and avoid
      linking directly to the master branch. This ensures that links reference a
      specific point in time, rather than a document that may change over time.
      
      See here for guidance on getting permanent links to files: https://help.github.com/en/articles/getting-permanent-links-to-files
      
      Please use the following format for linking documentation:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 23:01:06 UTC 2024
    - 455.3K bytes
    - Viewed (0)
  9. pkg/printers/internalversion/printers.go

    		r, err := printVolumeAttributesClass(&list.Items[i], options)
    		if err != nil {
    			return nil, err
    		}
    		rows = append(rows, r...)
    	}
    	return rows, nil
    }
    
    func printLease(obj *coordination.Lease, options printers.GenerateOptions) ([]metav1.TableRow, error) {
    	row := metav1.TableRow{
    		Object: runtime.RawExtension{Object: obj},
    	}
    
    	var holderIdentity string
    	if obj.Spec.HolderIdentity != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  10. configure.py

        write_to_bazelrc('build --copt=-Wno-gnu-offsetof-extensions')
    
    
    def set_tf_cuda_paths(environ_cp):
      """Set TF_CUDA_PATHS."""
      ask_cuda_paths = (
          'Please specify the comma-separated list of base paths to look for CUDA '
          'libraries and headers. [Leave empty to use the default]: ')
      tf_cuda_paths = get_from_env_or_user_or_default(environ_cp, 'TF_CUDA_PATHS',
                                                      ask_cuda_paths, '')
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (0)
Back to top