Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,918 for lease (0.06 sec)

  1. cluster/images/etcd/migrate/migrate_client.go

    	if err != nil {
    		return fmt.Errorf("error while getting objects to attach to the lease")
    	}
    
    	lease, err := v3client.Lease.Grant(ctx, int64(leaseDuration/time.Second))
    	if err != nil {
    		return fmt.Errorf("error while creating lease: %v", err)
    	}
    	klog.Infof("Lease with TTL: %v created", lease.TTL)
    
    	klog.Infof("Attaching lease to %d entries", len(objectsResp.Kvs))
    	for _, kv := range objectsResp.Kvs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 15 13:53:06 UTC 2021
    - 6.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/coordination/v1beta1/zz_generated.deepcopy.go

    func (in *Lease) DeepCopyInto(out *Lease) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	in.Spec.DeepCopyInto(&out.Spec)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lease.
    func (in *Lease) DeepCopy() *Lease {
    	if in == nil {
    		return nil
    	}
    	out := new(Lease)
    	in.DeepCopyInto(out)
    	return out
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  3. pkg/apis/coordination/zz_generated.deepcopy.go

    func (in *Lease) DeepCopyInto(out *Lease) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	in.Spec.DeepCopyInto(&out.Spec)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Lease.
    func (in *Lease) DeepCopy() *Lease {
    	if in == nil {
    		return nil
    	}
    	out := new(Lease)
    	in.DeepCopyInto(out)
    	return out
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/filters/storageversion.go

    		// apiserver-identity leases to operate. Leases in kube-system are either apiserver-identity
    		// lease (which gets garbage collected when stale) or leader-election leases (which gets
    		// periodically updated by system components). Both types of leases won't be stale in etcd.
    		if requestInfo.APIGroup == "coordination.k8s.io" && requestInfo.Resource == "leases" &&
    			requestInfo.Namespace == metav1.NamespaceSystem {
    			handler.ServeHTTP(w, req)
    			return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. pilot/pkg/leaderelection/k8sleaderelection/k8sresourcelock/interface.go

    type LeaderElectionRecord struct {
    	// HolderIdentity is the ID that owns the lease. If empty, no one owns this lease and
    	// all callers may acquire. Versions of this library prior to Kubernetes 1.14 will not
    	// attempt to acquire leases with empty identities and will wait for the full lease
    	// interval to expire before attempting to reacquire. This value is set to empty when
    	// a client voluntarily steps down.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 6K bytes
    - Viewed (0)
  6. cmd/kube-apiserver/app/options/validation_test.go

    			},
    			wantErr: true,
    		},
    		{
    			name: "lease endpoint reconciler - IPv4 families",
    			extra: Extra{
    				EndpointReconcilerType:       "lease",
    				PrimaryServiceClusterIPRange: *ipv4cidr,
    			},
    			generic: apiserveroptions.ServerRunOptions{
    				AdvertiseAddress: ipv4address,
    			},
    			wantErr: false,
    		},
    		{
    			name: "lease endpoint reconciler - IPv6 families",
    			extra: Extra{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. pkg/config/schema/kind/resources.gen.go

    		return "GatewayClass"
    	case HTTPRoute:
    		return "HTTPRoute"
    	case Ingress:
    		return "Ingress"
    	case IngressClass:
    		return "IngressClass"
    	case KubernetesGateway:
    		return "Gateway"
    	case Lease:
    		return "Lease"
    	case MeshConfig:
    		return "MeshConfig"
    	case MeshNetworks:
    		return "MeshNetworks"
    	case MutatingWebhookConfiguration:
    		return "MutatingWebhookConfiguration"
    	case Namespace:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 07:19:38 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. pilot/pkg/leaderelection/k8sleaderelection/healthzadaptor_test.go

    			expected:       nil,
    			adaptorTimeout: time.Second * 20,
    			elector:        nil,
    		},
    		{
    			description:    "call check when the lease is far expired",
    			expected:       fmt.Errorf("failed election to renew leadership on lease %s", "foo"),
    			adaptorTimeout: time.Second * 20,
    			elector: &LeaderElector{
    				config: LeaderElectionConfig{
    					Lock:          &fakeLock{identity: "healthTest"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 12 18:41:53 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  9. api/discovery/apis__coordination.k8s.io__v1.json

    {
      "apiVersion": "v1",
      "groupVersion": "coordination.k8s.io/v1",
      "kind": "APIResourceList",
      "resources": [
        {
          "kind": "Lease",
          "name": "leases",
          "namespaced": true,
          "singularName": "lease",
          "storageVersionHash": "gqkMMb/YqFM=",
          "verbs": [
            "create",
            "delete",
            "deletecollection",
            "get",
            "list",
            "patch",
            "update",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 15 18:18:19 UTC 2023
    - 451 bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/coordination/v1/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_239d5a4df3139dce, []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
    - 24K bytes
    - Viewed (0)
Back to top