Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for buildCluster (0.15 sec)

  1. pkg/test/framework/components/environment/kube/kube.go

    		if errs != nil {
    			scopes.Framework.Infof("=== FAILED: Building clusters ===")
    		}
    	}()
    
    	allClusters := make(cluster.Map)
    	var clusters cluster.Clusters
    	for i, cfg := range configs {
    		c, err := buildCluster(cfg, allClusters)
    		if err != nil {
    			errs = multierror.Append(errs, fmt.Errorf("failed building cluster from config %d: %v", i, err))
    			continue
    		}
    		if _, ok := allClusters[c.Name()]; ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_builder.go

    	if features.MetadataExchange {
    		c.Filters = append(c.Filters, xdsfilters.TCPClusterMx)
    	}
    }
    
    // buildCluster builds the default cluster and also applies global options.
    // It is used for building both inbound and outbound cluster.
    func (cb *ClusterBuilder) buildCluster(name string, discoveryType cluster.Cluster_DiscoveryType,
    	localityLbEndpoints []*endpoint.LocalityLbEndpoints, direction model.TrafficDirection,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_waypoint.go

    			proxy,
    			cb.req.Push,
    			clusterName,
    			model.TrafficDirectionInboundVIP, subset, svc.Hostname, port.Port,
    			svc, nil,
    		).FromServiceEndpoints()
    	}
    	localCluster := cb.buildCluster(clusterName, discoveryType, lbEndpoints,
    		model.TrafficDirectionInboundVIP, &port, svc, nil, subset)
    
    	// Ensure VIP cluster has services metadata for stats filter usage
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster.go

    // BuildClusters returns the list of clusters for the given proxy. This is the CDS output
    // For outbound: Cluster for each service/subset hostname or cidr with SNI set to service hostname
    // Cluster type based on resolution
    // For inbound (sidecar only): Cluster for each inbound endpoint port and for each service port
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster_builder_test.go

    					servicePort,
    				},
    				Hostname:     "host",
    				MeshExternal: false,
    				Attributes:   model.ServiceAttributes{Name: "svc", Namespace: "default"},
    			}
    			defaultCluster := cb.buildCluster(tt.clusterName, tt.discovery, tt.endpoints, tt.direction, servicePort, service, nil, "")
    			eb := endpoints.NewCDSEndpointBuilder(proxy, cb.req.Push, tt.clusterName,
    				tt.direction, "", service.Hostname, servicePort.Port,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/cluster_util_test.cc

      llvm::StringMap<SmallVector<Cluster>> clusters = BuildAllClusters(
          main_func.front(), info, GetDevice, CanBeIgnoredInCluster);
      return clusters;
    }
    
    TEST(BuildClusters, TestSingleCluster) {
      static const char* const module_with_single_cluster =
          R"(module {
    func.func @main(%arg0: tensor<?xi32>) -> tensor<?xi32> {
        %0 = "tf.A"(%arg0) : (tensor<?xi32>) -> tensor<?xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/cluster_formation.cc

        // the function body or if they are nested in individual
        // `tf_executor.island`.
        for (Block& block : func.getBody()) BuildClusters(block, builder, info);
        func.walk([&](tf_executor::IslandOp island) {
          BuildClusters(island.GetBody(), builder, info);
        });
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateClusterFormationPass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 05 13:30:21 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/configgen.go

    	// once and shared across multiple invocations of this function.
    	BuildListeners(node *model.Proxy, push *model.PushContext) []*listener.Listener
    
    	// BuildClusters returns the list of clusters for the given proxy. This is the CDS output
    	BuildClusters(node *model.Proxy, req *model.PushRequest) ([]*discovery.Resource, model.XdsLogDetails)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. pilot/pkg/networking/grpcgen/cds.go

    	"istio.io/istio/pilot/pkg/util/protoconv"
    	"istio.io/istio/pkg/config/host"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // BuildClusters handles a gRPC CDS request, used with the 'ApiListener' style of requests.
    // The main difference is that the request includes Resources to filter.
    func (g *GrpcConfigGenerator) BuildClusters(node *model.Proxy, push *model.PushContext, names []string) model.Resources {
    	filter := newClusterFilter(names)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. pilot/pkg/networking/grpcgen/grpcgen.go

    	switch w.TypeUrl {
    	case v3.ListenerType:
    		return g.BuildListeners(proxy, req.Push, w.ResourceNames), model.DefaultXdsLogDetails, nil
    	case v3.ClusterType:
    		return g.BuildClusters(proxy, req.Push, w.ResourceNames), model.DefaultXdsLogDetails, nil
    	case v3.RouteType:
    		return g.BuildHTTPRoutes(proxy, req.Push, w.ResourceNames), model.DefaultXdsLogDetails, nil
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top