Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 375 for cluster2b (0.13 sec)

  1. pilot/pkg/xds/endpoints/ep_filters_test.go

    				Weight: 42,
    			},
    		},
    		wantWorkloadMetadata: []string{
    			";ns;example;;cluster1a",
    			";ns;example;;cluster1a",
    			";ns;example;;cluster1b",
    			";ns;example;;cluster4",
    			";;;;cluster2a",
    			";;;;cluster2b",
    			";;;;cluster2b",
    		},
    	},
    	{
    		name:  "from_network1_cluster1b",
    		proxy: makeProxy("network1", "cluster1b"),
    		want: []xdstest.LocLbEpInfo{
    			{
    				LbEps: []xdstest.LbEpInfo{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. 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)
  3. pkg/config/analysis/analyzers/testdata/multicluster/inconsistent-service-1.yaml

    # Same service as cluster2, should not report warning.
    apiVersion: v1
    kind: Service
    metadata:
      name: my-service
      namespace: my-namespace
    spec:
      selector:
        app: my-service
      ports:
      - name: tcp-foo
        protocol: TCP
        port: 8080
        targetPort: 8080
    ---
    # Service with extra port in cluster2, should generate warning.
    apiVersion: v1
    kind: Service
    metadata:
      name: extra-port
      namespace: my-namespace
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/testdata/deployment/cluster-ip.yaml

            - name: ISTIO_META_OWNER
              value: kubernetes://apis/apps/v1/namespaces/default/deployments/default
            - name: ISTIO_META_MESH_ID
              value: cluster.local
            - name: TRUST_DOMAIN
              value: cluster.local
            image: test/proxyv2:test
            name: istio-proxy
            ports:
            - containerPort: 15021
              name: status-port
              protocol: TCP
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 19:29:42 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. pkg/kube/multicluster/cluster.go

    	"istio.io/istio/pilot/pkg/features"
    	"istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/kclient"
    	filter "istio.io/istio/pkg/kube/namespace"
    	"istio.io/istio/pkg/log"
    )
    
    // Cluster defines cluster struct
    type Cluster struct {
    	// ID of the cluster.
    	ID cluster.ID
    	// Client for accessing the cluster.
    	Client kube.Client
    
    	kubeConfigSha [sha256.Size]byte
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/multicluster/service.go

    		// Compare if service has mixed mode like headless and clusterIP
    		if !addedHeadless && (firstService.ClusterIP == corev1.ClusterIPNone) != (service.ClusterIP == corev1.ClusterIPNone) {
    			addedHeadless = true
    			for c := range services {
    				inconsistentClusters.Insert(c.String())
    			}
    			inconsistentReasons.Insert("service has mixed mode like headless and clusterIP")
    		}
    
    		// Compare service types
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/endpoint_builder_test.go

    				networkManager: &networkManager{
    					clusterID: c.ctl.cluster,
    					network:   c.ctl.network,
    				},
    				opts: Options{ClusterID: c.ctl.cluster},
    			}
    			eb := cc.NewEndpointBuilderFromMetadata(c.proxy)
    
    			assert.Equal(t, eb.labels, c.expected)
    		})
    	}
    }
    
    type testController struct {
    	locality string
    	cluster  cluster2.ID
    	network  network.ID
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/conversion.go

    		nodeLocal = true
    	}
    
    	if svc.Spec.ClusterIP == corev1.ClusterIPNone { // headless services should not be load balanced
    		resolution = model.Passthrough
    	} else if svc.Spec.ClusterIP != "" {
    		addrs[0] = svc.Spec.ClusterIP
    		if len(svc.Spec.ClusterIPs) > 1 {
    			addrs = svc.Spec.ClusterIPs
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/cluster_outlining.mlir

    }
    
    // CHECK: func private @[[CLUSTER]]
    // CHECK-SAME: () -> tensor<?xi32>
    // CHECK: %[[A_OUTPUT:[0-9]*]] = "tf.A"()
    // CHECK: return %[[A_OUTPUT]]
    
    // -----
    
    // Tests cluster attributes are copied over to cluster_func.
    
    // CHECK-LABEL: func @cluster_attrs
    func.func @cluster_attrs() -> tensor<?xi32> {
      %0 = "tf_device.cluster"() ({
        %1 = "tf.A"() : () -> tensor<?xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/multicluster_analyzers_test.go

    	return sa, nil
    }
    
    type fakeClientImpl struct {
    	kube.CLIClient
    	clusterID cluster.ID
    }
    
    func (f *fakeClientImpl) ClusterID() cluster.ID {
    	return f.clusterID
    }
    
    func addStore(sa *local.IstiodAnalyzer, clusterName string, yamls []string) error {
    	client := &fakeClientImpl{
    		CLIClient: kube.NewFakeClient(),
    		clusterID: cluster.ID(clusterName),
    	}
    	// Gather test files
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top