Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RemoteClusterTimeout (0.58 sec)

  1. pkg/kube/multicluster/cluster.go

    func (c *Cluster) Run(mesh mesh.Watcher, handlers []handler, action ACTION) {
    	if features.RemoteClusterTimeout > 0 {
    		time.AfterFunc(features.RemoteClusterTimeout, func() {
    			if !c.initialSync.Load() {
    				log.Errorf("remote cluster %s failed to sync after %v", c.ID, features.RemoteClusterTimeout)
    				timeouts.With(clusterLabel.Value(string(c.ID))).Increment()
    			}
    			c.initialSyncTimeout.Store(true)
    		})
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/multicluster.go

    		client := cluster.Client
    		configCluster := opts.ClusterID == cluster.ID
    
    		options := opts
    		options.ClusterID = cluster.ID
    		if !configCluster {
    			options.SyncTimeout = features.RemoteClusterTimeout
    		}
    		log.Infof("Initializing Kubernetes service registry %q", options.ClusterID)
    		options.ConfigCluster = configCluster
    		kubeRegistry := NewController(client, options)
    		kubeController := &kubeController{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. pilot/pkg/features/pilot.go

    		"If not empty, the controller will automatically patch validatingwebhookconfiguration when the CA certificate changes. "+
    			"Only works in kubernetes environment.").Get()
    
    	RemoteClusterTimeout = env.Register(
    		"PILOT_REMOTE_CLUSTER_TIMEOUT",
    		30*time.Second,
    		"After this timeout expires, pilot can become ready without syncing data from clusters added via remote-secrets. "+
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. pkg/kube/multicluster/secretcontroller.go

    	// connectivity issues would result in HasSynced returning false rather than an
    	// error. In this case, things will be retried automatically (via informers or
    	// others), and the time is capped by RemoteClusterTimeout).
    	controller.queue = controllers.NewQueue("multicluster secret",
    		controllers.WithReconciler(controller.processItem))
    
    	secrets.AddEventHandler(controllers.ObjectHandler(controller.queue.AddObject))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top