Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 542 for svc4 (0.04 sec)

  1. pkg/controller/endpointslicemirroring/metrics/cache_test.go

    	c.UpdateEndpointPortCache(types.NamespacedName{Namespace: "ns1", Name: "svc1"}, spCacheInefficient)
    	expectNumEndpointsAndSlices(t, c, 2, 13, 30)
    
    	c.UpdateEndpointPortCache(types.NamespacedName{Namespace: "ns1", Name: "svc2"}, spCacheEfficient)
    	expectNumEndpointsAndSlices(t, c, 4, 15, 110)
    
    	c.UpdateEndpointPortCache(types.NamespacedName{Namespace: "ns1", Name: "svc3"}, spCacheInefficient)
    	expectNumEndpointsAndSlices(t, c, 6, 28, 140)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 18:08:12 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/testdata/route-precedence.yaml.golden

          uri:
            exact: /baz
        name: allowed-2.http.1
        route:
        - destination:
            host: svc2.allowed-2.svc.domain.suffix
            port:
              number: 80
      - match:
        - uri:
            prefix: /foo/bar
        name: allowed-2.http.0
        route:
        - destination:
            host: svc2.allowed-2.svc.domain.suffix
            port:
              number: 80
      - match:
        - headers:
            my-header:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 11 20:21:53 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  3. pkg/proxy/ipvs/util/ipvs_test.go

    )
    
    func TestVirtualServerEqual(t *testing.T) {
    	Tests := []struct {
    		svcA   *VirtualServer
    		svcB   *VirtualServer
    		equal  bool
    		reason string
    	}{
    		{
    			svcA: &VirtualServer{
    				Address:   netutils.ParseIPSloppy("10.20.30.40"),
    				Protocol:  "",
    				Port:      0,
    				Scheduler: "wrr",
    				Flags:     0,
    				Timeout:   0,
    			},
    			svcB: &VirtualServer{
    				Address:   netutils.ParseIPSloppy("10.20.30.41"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/deployment/services.go

    	})
    
    	return matchingSvcs
    }
    
    // servicePortMap build a map of ports and protocols for each Service. e.g. m[80]["TCP"] -> svcA, svcB, svcC
    func servicePortMap(svcs []ServiceSpecWithName) PortMap {
    	portMap := PortMap{}
    
    	for _, swn := range svcs {
    		svc := swn.Spec
    		for _, sPort := range svc.Ports {
    			// If it is the first occurrence of this port, create a ProtocolMap
    			if _, ok := portMap[sPort.Port]; !ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/testdata/incorrect-port-name-external-name-service-type.yaml

      type: ExternalName
    ---
    apiVersion: v1
    kind: Service
    metadata:
      name: nginx-svc2
      namespace: nginx-ns2
    spec:
      externalName: nginx.example.com
      ports:
      - port: 443
        protocol: TCP
        targetPort: 443
      type: ExternalName
    --- 
    apiVersion: v1
    kind: Service
    metadata:
      name: nginx-svc3
      namespace: nginx-ns3
    spec:
      externalName: nginx.example.com
      ports:
      - name: tcp
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 09 00:46:04 UTC 2021
    - 641 bytes
    - Viewed (0)
  6. hack/testdata/prune/svc.yaml

    apiVersion: v1
    kind: Service
    metadata:
      name: prune-svc
      labels:
        prune-group: "true"
    spec:
      selector:
        prune-group-nomatch: "true"
      ports:
      - port: 80
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 01 21:02:31 UTC 2016
    - 181 bytes
    - Viewed (0)
  7. pkg/registry/core/service/ipallocator/controller/repairip_test.go

    		},
    		{
    			name: "reconcile IPAddresses dual stack",
    			svcs: []*v1.Service{newService("test-svc", []string{"10.0.1.1", "2001:db8::10"})},
    			ipAddresses: []*networkingv1alpha1.IPAddress{
    				newIPAddress("10.0.1.1", newService("test-svc2", []string{"10.0.1.1"})),
    				newIPAddress("2001:db8::10", newService("test-svc2", []string{"2001:db8::10"})),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  8. pkg/proxy/config/api_test.go

    		{Name: svc1.Name, Namespace: svc1.Namespace}: svc1,
    		{Name: svc2.Name, Namespace: svc2.Namespace}: svc2,
    	}
    	expectedEpsState := map[types.NamespacedName]*discoveryv1.EndpointSlice{
    		{Name: eps1.Name, Namespace: eps1.Namespace}: eps1,
    		{Name: eps2.Name, Namespace: eps2.Namespace}: eps2,
    	}
    
    	// Setup fake api client.
    	client := fake.NewSimpleClientset(svc1, svc2, eps2, eps1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. pilot/pkg/xds/delta_test.go

    			Name:      "c",
    		},
    	}
    	svcA := &model.ServiceInfo{
    		Service: &workloadapi.Service{
    			Name:      "a",
    			Namespace: "default",
    			Hostname:  "a.default.svc.cluster.local",
    		},
    	}
    	svcB := &model.ServiceInfo{
    		Service: &workloadapi.Service{
    			Name:      "b",
    			Namespace: "default",
    			Hostname:  "b.default.svc.cluster.local",
    		},
    	}
    	svcC := &model.ServiceInfo{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. pkg/proxy/endpointslicecache_test.go

    			namespacedName: types.NamespacedName{Name: "svc1", Namespace: "ns1"},
    			endpointSlices: []*discovery.EndpointSlice{
    				generateEndpointSlice("svc1", "ns1", 1, 3, 999, 999, []string{}, []*int32{ptr.To[int32](80)}),
    				generateEndpointSlice("svc1", "ns1", 2, 3, 999, 999, []string{}, []*int32{ptr.To[int32](80)}),
    			},
    			expectedMap: map[ServicePortName][]*BaseEndpointInfo{
    				makeServicePortName("ns1", "svc1", "port-0", v1.ProtocolTCP): {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top