Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 280 for svc4 (0.04 sec)

  1. pkg/config/analysis/analyzers/testdata/correct-port-name-external-name-service-type.yaml

    apiVersion: v1
    kind: Service
    metadata:
      name: nginx-svc4
      namespace: nginx-ns4
    spec:
      externalName: nginx.example.com
      ports:
      - name: https
        port: 443
        protocol: TCP
        targetPort: 443
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 09 00:46:04 UTC 2021
    - 218 bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/testdata/benchmark-httproute.yaml

            value: /foo
          headers:
          - name: my-header
            value: some-value
            type: Exact
        backendRefs:
        - name: svc1
          port: 80
      - matches:
        - path:
            type: RegularExpression
            value: /foo((\/).*)?
        backendRefs:
        - name: svc2
          port: 80
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: http
      namespace: allowed-2
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/testdata/route-precedence.yaml

            value: /foo
          headers:
          - name: my-header
            value: some-value
            type: Exact
        backendRefs:
        - name: svc1
          port: 80
      - matches:
        - path:
            type: RegularExpression
            value: /foo((\/).*)?
        backendRefs:
        - name: svc2
          port: 80
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: http
      namespace: allowed-2
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top