- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 532 for lease (0.17 sec)
-
pkg/controlplane/apiserver/server.go
func labelAPIServerHeartbeatFunc(identity string, peeraddress string) lease.ProcessLeaseFunc { return func(lease *coordinationapiv1.Lease) error { if lease.Labels == nil { lease.Labels = map[string]string{} } if lease.Annotations == nil { lease.Annotations = map[string]string{} } // This label indiciates the identity of the lease object. lease.Labels[IdentityLeaseComponentLabelKey] = identity
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 19:24:41 UTC 2024 - 11K bytes - Viewed (0) -
pkg/controller/storageversiongc/gc_controller.go
for _, v := range sv.Status.StorageVersions { lease, err := c.kubeclientset.CoordinationV1().Leases(metav1.NamespaceSystem).Get(ctx, v.APIServerID, metav1.GetOptions{}) if err != nil || lease == nil || lease.Labels == nil || lease.Labels[controlplane.IdentityLeaseComponentLabelKey] != controlplane.KubeAPIServer { // We cannot find a corresponding identity lease from apiserver as well. // We need to clean up this storage version.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 10K bytes - Viewed (0) -
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) -
pkg/controlplane/instance.go
DefaultEndpointReconcilerTTL = 15 * time.Second // IdentityLeaseComponentLabelKey is used to apply a component label to identity lease objects, indicating: // 1. the lease is an identity lease (different from leader election leases) // 2. which component owns this lease // TODO(sttts): remove this indirection IdentityLeaseComponentLabelKey = controlplaneapiserver.IdentityLeaseComponentLabelKey
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 03 11:50:04 UTC 2024 - 21.2K bytes - Viewed (0) -
pkg/config/schema/collections/collections.gen.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 31.4K bytes - Viewed (0) -
pkg/config/schema/kubeclient/resources.gen.go
} case gvr.Lease: l = func(options metav1.ListOptions) (runtime.Object, error) { return c.Kube().CoordinationV1().Leases(opts.Namespace).List(context.Background(), options) } w = func(options metav1.ListOptions) (watch.Interface, error) { return c.Kube().CoordinationV1().Leases(opts.Namespace).Watch(context.Background(), options) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 13:57:51 UTC 2024 - 31.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/etcd.go
"The timeout to use when checking etcd readiness") fs.Int64Var(&s.StorageConfig.LeaseManagerConfig.ReuseDurationSeconds, "lease-reuse-duration-seconds", s.StorageConfig.LeaseManagerConfig.ReuseDurationSeconds, "The time in seconds that each lease is reused. A lower value could avoid large number of objects reusing the same lease. Notice that a too small value may cause performance problems at storage layer.") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 15:02:16 UTC 2024 - 20K bytes - Viewed (0) -
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) -
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) -
cmd/kube-scheduler/app/server_test.go
return plugins }(), }, }, { name: "leader election CLI args, along with --config arg", flags: []string{ "--leader-elect=false", "--leader-elect-lease-duration=2h", // CLI args are favored over the fields in ComponentConfig "--kubeconfig=foo", // deprecated CLI arg will be ignored if --config is specified "--config", emptyLeaderElectionConfig, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.2K bytes - Viewed (0)