Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 126 for Lease (0.39 sec)

  1. staging/src/k8s.io/cli-runtime/artifacts/openapi/swagger-with-shared-parameters.json

              "type": "string"
            }
          },
          "required": [
            "trustBundle"
          ],
          "type": "object"
        },
        "io.k8s.api.coordination.v1.Lease": {
          "description": "Lease defines a lease concept.",
          "properties": {
            "apiVersion": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 2.3M bytes
    - Viewed (0)
  2. cmd/kube-controller-manager/app/options/options_test.go

    	"--kube-api-burst=100",
    	"--kube-api-content-type=application/json",
    	"--kube-api-qps=50.0",
    	"--kubeconfig=/kubeconfig",
    	"--large-cluster-size-threshold=100",
    	"--leader-elect=false",
    	"--leader-elect-lease-duration=30s",
    	"--leader-elect-renew-deadline=15s",
    	"--leader-elect-resource-lock=configmap",
    	"--leader-elect-retry-period=5s",
    	"--legacy-service-account-token-clean-up-period=8760h",
    	"--master=192.168.4.20",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. cmd/kube-controller-manager/app/controllermanager.go

    			c.Client.CoreV1(),
    			metav1.NamespaceSystem)
    	} else {
    		clientBuilder = rootClientBuilder
    	}
    	return
    }
    
    // leaderElectAndRun runs the leader election, and runs the callbacks once the leader lease is acquired.
    // TODO: extract this function into staging/controller-manager
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    	}
    	var ttl uint64
    	if ttlPtr != nil {
    		ttl = *ttlPtr
    	}
    	return ret, ttl, nil
    }
    
    // ttlOpts returns client options based on given ttl.
    // ttl: if ttl is non-zero, it will attach the key to a lease with ttl of roughly the same length
    func (s *store) ttlOpts(ctx context.Context, ttl int64) ([]clientv3.OpOption, error) {
    	if ttl == 0 {
    		return nil, nil
    	}
    	id, err := s.leaseManager.GetLease(ctx, ttl)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/config.go

    		// the hash used for the identity should include both the hostname and the identity value.
    		// TODO: receive the identity value as a parameter once the apiserver identity lease controller
    		// post start hook is moved to generic apiserver.
    		b := cryptobyte.NewBuilder(nil)
    		b.AddUint16LengthPrefixed(func(b *cryptobyte.Builder) {
    			b.AddBytes([]byte(hostname))
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/genericapiserver.go

    		<-delayedStopCh.Signaled()
    
    		// Additionally wait for preshutdown hooks to also be finished, as some of them need
    		// to send API calls to clean up after themselves (e.g. lease reconcilers removing
    		// itself from the active servers).
    		<-preShutdownHooksHasStoppedCh.Signaled()
    	}()
    
    	// wait for all in-flight non-long running requests to finish
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  7. api/openapi-spec/swagger.json

              "type": "string"
            }
          },
          "required": [
            "trustBundle"
          ],
          "type": "object"
        },
        "io.k8s.api.coordination.v1.Lease": {
          "description": "Lease defines a lease concept.",
          "properties": {
            "apiVersion": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.26.md

    - 'Promoted the `APIServerIdentity` feature to Beta. By default, each `kube-apiserver`
      will now create a Lease in the `kube-system` namespace. These lease objects can
      be used to identify the number of active API servers in the cluster, and may also
      be used for future features such as the Storage Version API.'
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
  9. 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)
  10. pkg/generated/openapi/zz_generated.openapi.go

    ...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top