Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for nw (0.02 sec)

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

    		})
    	}
    }
    
    func TestBuildLocalityLbEndpoints(t *testing.T) {
    	proxy := &model.Proxy{
    		Metadata: &model.NodeMetadata{
    			ClusterID:            "cluster-1",
    			RequestedNetworkView: []string{"nw-0", "nw-1"},
    		},
    	}
    	servicePort := &model.Port{
    		Name:     "default",
    		Port:     8080,
    		Protocol: protocol.HTTP,
    	}
    	service := &model.Service{
    		Hostname: host.Name("*.example.org"),
    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. tests/integration/pilot/common/routing.go

    			c := c
    
    			// First setup a service selecting a few services. This is needed to ensure we can load balance across many pods.
    			svcName := "consistent-hash"
    			if nw := c.Config().Cluster.NetworkName(); nw != "" {
    				svcName += "-" + nw
    			}
    			svc := tmpl.MustEvaluate(`apiVersion: v1
    kind: Service
    metadata:
      name: {{.Service}}
    spec:
      ports:
      - name: http
        port: {{.Port}}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
Back to top