Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,374 for cluster0 (0.12 sec)

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

    	}
    	return f.Name
    }
    
    func (f FakeEnvironment) AllClusters() cluster.Clusters {
    	res := cluster.Clusters{}
    	allClusters := make(cluster.Map)
    
    	for i := 0; i < f.NumClusters; i++ {
    		topo := cluster.NewTopology(cluster.Config{
    			Name:               fmt.Sprintf("cluster-%d", i),
    			PrimaryClusterName: fmt.Sprintf("cluster-%d", i),
    			ConfigClusterName:  fmt.Sprintf("cluster-%d", i),
    		}, allClusters)
    		c := &kube.Cluster{Topology: topo}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/deployment/builder.go

    	}
    	b.templates = templates
    
    	return b.WithClusters(clusters...)
    }
    
    type builder struct {
    	ctx resource.Context
    
    	// clusters contains the current set of clusters that subsequent With calls will be applied to,
    	// if the Config passed to With does not explicitly choose a cluster.
    	clusters cluster.Clusters
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/extract_head_tail_outside_compilation.mlir

        //
        // CHECK:      "tf_device.cluster"
        // CHECK-NEXT:   tf_device.return
        %cluster = "tf_device.cluster"() ({
          %a = "tf.A"(%arg0) {_xla_outside_compilation = "cluster1"} : (tensor<i32>) -> tensor<i32>
          %b = "tf.B"(%a) {_xla_outside_compilation = "cluster1"} : (tensor<i32>) -> tensor<i32>
          %c = "tf.C"(%b, %arg0) {_xla_outside_compilation = "cluster1"} : (tensor<i32>, tensor<i32>) -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  4. pkg/kube/multicluster/secretcontroller.go

    	log.Infof("Deleting cluster_id=%v configured by secret=%v", cluster.ID, secretKey)
    	cluster.Stop()
    	c.handleDelete(cluster.ID)
    	c.cs.Delete(secretKey, cluster.ID)
    
    	log.Infof("Number of remote clusters: %d", c.cs.Len())
    }
    
    func (c *Controller) handleAdd(cluster *Cluster) []ComponentConstraint {
    	syncers := make([]ComponentConstraint, 0, len(c.handlers))
    	for _, handler := range c.handlers {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. pkg/test/framework/components/istio/kube.go

    	}
    	return nil
    }
    
    func getTargetClusterListForCluster(targetClusters []cluster.Cluster, c cluster.Cluster) []cluster.Cluster {
    	var outClusters []cluster.Cluster
    	scopes.Framework.Infof("Secret from cluster: %s will be placed in following clusters", c.Name())
    	for _, cc := range targetClusters {
    		// if cc is an external cluster, config cluster's secret should have already been
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  6. pkg/test/framework/components/environment/kube/settings.go

    	// controlPlaneTopology maps each cluster to the cluster that runs its control plane. For replicated control
    	// plane cases (where each cluster has its own control plane), the cluster will map to itself (e.g. 0->0).
    	controlPlaneTopology clusterTopology
    
    	// networkTopology is used for the initial assignment of networks to each cluster.
    	// The source of truth clusters' networks is the Cluster instances themselves, rather than this field.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. pilot/pkg/networking/grpcgen/cds.go

    	subsetClusters := b.applyDestinationRule(defaultCluster)
    	out := make([]*cluster.Cluster, 0, 1+len(subsetClusters))
    	if defaultCluster != nil {
    		out = append(out, defaultCluster)
    	}
    	return append(out, subsetClusters...)
    }
    
    // edsCluster creates a simple cluster to read endpoints from ads/eds.
    func edsCluster(name string) *cluster.Cluster {
    	return &cluster.Cluster{
    		Name:                 name,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. tests/integration/pilot/workloadentry_test.go

    			}
    			gatewayAddresses := map[string]gwAddr{}
    			for _, cluster := range t.Clusters() {
    				if _, ok := gatewayAddresses[cluster.NetworkName()]; ok {
    					continue
    				}
    				ips, ports := i.EastWestGatewayFor(cluster).AddressesForPort(15443)
    				if ips != nil {
    					gatewayAddresses[cluster.NetworkName()] = gwAddr{ips[0], ports[0]}
    				}
    			}
    			if len(t.Clusters().Networks()) != len(gatewayAddresses) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

          "_cluster", graph_before_encapsulation,
          /*rewrite_subgraph_fn=*/{},
          /*reuse_existing_functions=*/false, &graph, &library));
    
      std::vector<string> expected_nodes = {"cluster1", "cluster2", "mul", "x"};
      EXPECT_EQ(expected_nodes, GraphNodes(*graph));
    
      std::vector<std::pair<string, string>> expected_edges = {
          {"cluster1:0", "cluster2:0"},
          {"cluster1:0", "mul:0"},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/echotest/run.go

    				ctx.Skipf("no gateway for %s", fromCluster.StableName())
    			}
    			testFn(ctx, gwIngress, dst)
    		}
    		if len(ctx.Clusters()) == 1 {
    			doTest(ctx, ctx.Clusters()[0], dstInstances)
    		} else {
    			t.fromEachCluster(ctx, func(ctx framework.TestContext, c cluster.Cluster) {
    				doTest(ctx, c, dstInstances)
    			})
    		}
    	})
    }
    
    func (t *T) RunViaIngress(testFn ingressTest) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 27 22:08:42 UTC 2023
    - 13K bytes
    - Viewed (0)
Back to top