Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for cluster_type (0.28 sec)

  1. pilot/pkg/networking/core/cluster_builder_test.go

    					ClusterDiscoveryType: &cluster.Cluster_Type{Type: cluster.Cluster_EDS},
    					EdsClusterConfig: &cluster.Cluster_EdsClusterConfig{
    						ServiceName: "outbound|8080|foobar|foo.default.svc.cluster.local",
    					},
    				},
    			},
    		},
    		{
    			name:        "destination rule with pass through subsets",
    			cluster:     &cluster.Cluster{Name: "foo", ClusterDiscoveryType: &cluster.Cluster_Type{Type: cluster.Cluster_STATIC}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  2. pkg/adsc/delta_test.go

    				{
    					TypeUrl: v3.ClusterType,
    					Resources: []*discovery.Resource{
    						{
    							Name:     "test-cluster1",
    							Resource: protoconv.MessageToAny(testCluster),
    						},
    						{
    							Name:     "test-cluster2",
    							Resource: protoconv.MessageToAny(testClusterNoSecret),
    						},
    					},
    				},
    				{
    					TypeUrl:          v3.ClusterType,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_waypoint.go

    func buildInternalUpstreamCluster(name string, internalListener string) *cluster.Cluster {
    	return &cluster.Cluster{
    		Name:                 name,
    		ClusterDiscoveryType: &cluster.Cluster_Type{Type: cluster.Cluster_STATIC},
    		LoadAssignment: &endpoint.ClusterLoadAssignment{
    			ClusterName: name,
    			Endpoints:   util.BuildInternalEndpoint(internalListener, nil),
    		},
    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_builder.go

    	clusterType := opts.mutable.cluster.GetType()
    	if isPassthrough {
    		clusterType = cluster.Cluster_ORIGINAL_DST
    	}
    	if !(isPassthrough || clusterType == cluster.Cluster_EDS) {
    		lbEndpoints = endpointBuilder.WithSubset(subset.Name).FromServiceEndpoints()
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster_traffic_policy_test.go

    			cb := NewClusterBuilder(proxy, &model.PushRequest{Push: push}, model.DisabledCache{})
    			opts := &buildClusterOpts{
    				mutable: newClusterWrapper(&cluster.Cluster{
    					ClusterDiscoveryType: &cluster.Cluster_Type{Type: test.discoveryType},
    				}),
    				mesh: push.Mesh,
    			}
    			cb.applyUpstreamTLSSettings(opts, test.tls, test.mtlsCtx)
    			// apply proxy protocol settings
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. pilot/pkg/networking/grpcgen/cds.go

    }
    
    // edsCluster creates a simple cluster to read endpoints from ads/eds.
    func edsCluster(name string) *cluster.Cluster {
    	return &cluster.Cluster{
    		Name:                 name,
    		ClusterDiscoveryType: &cluster.Cluster_Type{Type: cluster.Cluster_EDS},
    		EdsClusterConfig: &cluster.Cluster_EdsClusterConfig{
    			ServiceName: name,
    			EdsConfig: &core.ConfigSource{
    				ConfigSourceSpecifier: &core.ConfigSource_Ads{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/envoyfilter/cluster_patch_test.go

    		{Name: "inbound|7443||", DnsLookupFamily: cluster.Cluster_V4_ONLY, LbPolicy: cluster.Cluster_ROUND_ROBIN},
    	}
    	sidecarInboundServiceOut := []*cluster.Cluster{
    		{
    			Name: "inbound|7443||", ClusterDiscoveryType: &cluster.Cluster_Type{Type: cluster.Cluster_EDS},
    			DnsLookupFamily: cluster.Cluster_V6_ONLY, LbPolicy: cluster.Cluster_RING_HASH,
    		},
    	}
    
    	gatewayInput := []*cluster.Cluster{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. pkg/kube/multicluster/secretcontroller.go

    	)
    
    	clusterType = monitoring.CreateLabel("cluster_type")
    
    	clustersCount = monitoring.NewGauge(
    		"istiod_managed_clusters",
    		"Number of clusters managed by istiod",
    	)
    
    	localClusters  = clustersCount.With(clusterType.Value("local"))
    	remoteClusters = clustersCount.With(clusterType.Value("remote"))
    )
    
    type handler interface {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. pilot/test/xdstest/extract.go

    	return ExtractLoadAssignments(cla)
    }
    
    func ExtractEdsClusterNames(cl []*cluster.Cluster) []string {
    	res := []string{}
    	for _, c := range cl {
    		switch v := c.ClusterDiscoveryType.(type) {
    		case *cluster.Cluster_Type:
    			if v.Type != cluster.Cluster_EDS {
    				continue
    			}
    		default:
    			continue
    		}
    		res = append(res, c.Name)
    	}
    	return res
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_test.go

    		},
    	})
    
    	c := xdstest.ExtractCluster("outbound|8080||*.example.org",
    		clusters)
    	g.Expect(c.LbPolicy).To(Equal(cluster.Cluster_CLUSTER_PROVIDED))
    	g.Expect(c.GetClusterDiscoveryType()).To(Equal(&cluster.Cluster_Type{Type: cluster.Cluster_ORIGINAL_DST}))
    }
    
    func TestSlowStartConfig(t *testing.T) {
    	g := NewWithT(t)
    	testcases := []struct {
    		name                string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
Back to top