Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 156 for ClusterID (0.17 sec)

  1. pkg/kube/multicluster/clusterstore.go

    	c.clusters.Delete(string(clusterID))
    	if len(c.remoteClusters[secretKey]) == 0 {
    		delete(c.remoteClusters, secretKey)
    	}
    }
    
    func (c *ClusterStore) Get(secretKey string, clusterID cluster.ID) *Cluster {
    	c.RLock()
    	defer c.RUnlock()
    	if _, ok := c.remoteClusters[secretKey]; !ok {
    		return nil
    	}
    	return c.remoteClusters[secretKey][clusterID]
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 07 15:01:12 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. security/pkg/server/ca/authenticate/kubeauth/kube_jwt.go

    func (a *KubeJWTAuthenticator) getKubeClient(clusterID cluster.ID) kubernetes.Interface {
    	// first match local/primary cluster
    	// or if clusterID is not sent (we assume that its a single cluster)
    	if a.clusterID == clusterID || clusterID == "" {
    		return a.kubeClient
    	}
    
    	// secondly try other remote clusters
    	if a.remoteKubeClientGetter != nil {
    		if res := a.remoteKubeClientGetter(clusterID); res != nil {
    			return res
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. pilot/pkg/util/informermetric/informerutil.go

    func ErrorHandlerForCluster(clusterID cluster.ID) cache.WatchErrorHandler {
    	mu.RLock()
    	handler, ok := handlers[clusterID]
    	mu.RUnlock()
    	if ok {
    		return handler
    	}
    
    	mu.Lock()
    	defer mu.Unlock()
    	clusterMetric := errorMetric.With(clusterLabel.Value(clusterID.String()))
    	h := func(_ *cache.Reflector, err error) {
    		clusterMetric.Increment()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/pilot/status_test.go

    	proxyID   string
    	clusterID string
    	version   string
    
    	cdsSyncStatus  status.ConfigStatus
    	ldsSyncStatus  status.ConfigStatus
    	rdsSyncStatus  status.ConfigStatus
    	edsSyncStatus  status.ConfigStatus
    	ecdsSyncStatus status.ConfigStatus
    }
    
    func newXdsClientConfig(config clientConfigInput) *status.ClientConfig {
    	meta := model.NodeMetadata{
    		ClusterID:    cluster.ID(config.clusterID),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 08 08:38:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. pkg/kube/multicluster/secretcontroller.go

    		}
    	}
    
    	var errs *multierror.Error
    	for clusterID, kubeConfig := range s.Data {
    		logger := log.WithLabels("cluster", clusterID, "secret", secretKey)
    		if cluster.ID(clusterID) == c.configClusterID {
    			logger.Infof("ignoring cluster as it would overwrite the config cluster")
    			continue
    		}
    
    		action := Add
    		if prev := c.cs.Get(secretKey, cluster.ID(clusterID)); prev != nil {
    			action = Update
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/multicluster.go

    }
    
    func (k *kubeController) Close() {
    	close(k.stop)
    	clusterID := k.Controller.clusterID
    	k.MeshServiceController.UnRegisterHandlersForCluster(clusterID)
    	k.MeshServiceController.DeleteRegistry(clusterID, provider.Kubernetes)
    	if k.workloadEntryController != nil {
    		k.MeshServiceController.DeleteRegistry(clusterID, provider.External)
    	}
    	if err := k.Controller.Cleanup(); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/aggregate/controller_test.go

    	registry2Counter := atomic.NewInt32(0)
    
    	for _, r := range registries {
    		counter := atomic.NewInt32(0)
    		clusterID := r.Cluster()
    		if clusterID == "cluster1" {
    			counter = registry1Counter
    		}
    		if clusterID == "cluster2" {
    			counter = registry2Counter
    		}
    		ctrl.AppendServiceHandlerForCluster(clusterID, func(_, curr *model.Service, event model.Event) {
    			counter.Add(1)
    		})
    		ctrl.AddRegistry(r)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/ztunnel/configdump/testdata/dump.json

          "canonicalName": "ratings",
          "canonicalRevision": "v1",
          "network": "network1",
          "node": "ambient-worker2",
          "nativeTunnel": true,
          "status": "Healthy",
          "clusterId": "Kubernetes"
        },
        "/10.244.2.58": {
          "workloadIps": [
            "10.244.2.58"
          ],
          "protocol": "HBONE",
          "uid": "Kubernetes//Pod/default/sleep-7656cf8794-lxcmx",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  9. security/pkg/server/ca/authenticate/kubeauth/kube_jwt_test.go

    	}{
    		"No bearer token": {
    			metadata: metadata.MD{
    				"clusterid": []string{primaryCluster},
    				"authorization": []string{
    					"Basic callername",
    				},
    			},
    			expectedErrMsg: "target JWT extraction error: no bearer token exists in HTTP authorization header",
    		},
    		"token not authenticated": {
    			token: invlidToken,
    			metadata: metadata.MD{
    				"clusterid": []string{primaryCluster},
    				"authorization": []string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/aggregate/controller.go

    	}
    	// Prefer the k8s HostVIPs where possible
    	clusterID := srcRegistry.Cluster()
    	if len(dst.ClusterVIPs.GetAddressesFor(clusterID)) == 0 {
    		newAddresses := src.ClusterVIPs.GetAddressesFor(clusterID)
    		dst.ClusterVIPs.SetAddressesFor(clusterID, newAddresses)
    	}
    }
    
    // NetworkGateways merges the service-based cross-network gateways from each registry.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top