Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 542 for svc4 (0.04 sec)

  1. pilot/pkg/serviceregistry/kube/controller/endpointslice_test.go

    		[]int32{8080}, map[string]string{"app": appName}, t)
    
    	// Ensure that the service is available.
    	hostname := kube.ServiceHostname(svcName, ns, controller.opts.DomainSuffix)
    	svc := controller.GetService(hostname)
    	if svc == nil {
    		t.Fatal("failed to get service")
    	}
    
    	// Create an endpoint that indicates it's an MCS endpoint for the service.
    	svc1Ips := []string{"128.0.0.1"}
    	portNames := []string{"tcp-port"}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. pkg/proxy/servicechangetracker_test.go

    	servicev1 := makeTestService("ns1", "svc1", func(svc *v1.Service) {
    		svc.Spec.Type = v1.ServiceTypeClusterIP
    		svc.Spec.ClusterIP = "172.16.55.4"
    		svc.Spec.Ports = addTestPort(svc.Spec.Ports, "p1", "UDP", 1234, 4321, 0)
    		svc.Spec.Ports = addTestPort(svc.Spec.Ports, "p2", "TCP", 1235, 5321, 0)
    	})
    	servicev2 := makeTestService("ns1", "svc1", func(svc *v1.Service) {
    		svc.Spec.Type = v1.ServiceTypeLoadBalancer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  3. pkg/controller/endpointslicemirroring/endpointslicemirroring_controller_test.go

    		expectedInList bool
    	}{{
    		testName:  "Service with matching EndpointSlice",
    		namespace: "ns1",
    		name:      "svc1",
    		endpointSlice: &discovery.EndpointSlice{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      "example-1",
    				Namespace: "ns1",
    				Labels: map[string]string{
    					discovery.LabelServiceName: "svc1",
    					discovery.LabelManagedBy:   controllerName,
    				},
    			},
    		},
    		expectedInList: true,
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 12:57:29 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  4. pilot/pkg/xds/debug.go

    	svcs := sortMCSServices(s.Env.MCSServices())
    	writeJSON(w, svcs, req)
    }
    
    func sortMCSServices(svcs []model.MCSServiceInfo) []model.MCSServiceInfo {
    	sort.Slice(svcs, func(i, j int) bool {
    		if strings.Compare(svcs[i].Cluster.String(), svcs[j].Cluster.String()) < 0 {
    			return true
    		}
    		if strings.Compare(svcs[i].Namespace, svcs[j].Namespace) < 0 {
    			return true
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    				},
    			},
    		},
    	}
    	return pods, svc
    }
    
    func streamTestData() (io.Reader, *v1.PodList, *v1.ServiceList) {
    	pods, svc := testData()
    	r, w := io.Pipe()
    	go func() {
    		defer w.Close()
    		w.Write([]byte(runtime.EncodeOrDie(corev1Codec, pods)))
    		w.Write([]byte(runtime.EncodeOrDie(corev1Codec, svc)))
    	}()
    	return r, pods, svc
    }
    
    func subresourceTestData(name string) *v1.Pod {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/listener_waypoint.go

    }
    
    func (lb *ListenerBuilder) buildWaypointInternal(wls []model.WorkloadInfo, svcs []*model.Service) *listener.Listener {
    	ipMatcher := &matcher.IPMatcher{}
    	chains := []*listener.FilterChain{}
    	for _, svc := range svcs {
    		portMapper := match.NewDestinationPort()
    		for _, port := range svc.Ports {
    			if port.Protocol == protocol.UDP {
    				continue
    			}
    			portString := strconv.Itoa(port.Port)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    		for _, svc := range gotServices {
    			if v, ok := gotIPMap[svc.AutoAllocatedIPv4Address]; ok && v != svc.Hostname.String() {
    				t.Errorf("multiple allocations of same IP address to different services with different hostname: %s", svc.AutoAllocatedIPv4Address)
    			}
    			gotIPMap[svc.AutoAllocatedIPv4Address] = svc.Hostname.String()
    			serviceIPMap[svc.Hostname.String()] = svc.AutoAllocatedIPv4Address
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/valid/http-redirect.yaml

          sectionName: https
      hostnames:
        - my-filter.example.com
      rules:
        - matches:
            - path:
                type: PathPrefix
                value: /
          backendRefs:
            - name: my-filter-svc1
              weight: 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. pilot/pkg/networking/apigen/apigen.go

    	if w.TypeUrl == gvk.ServiceEntry.String() {
    		// Include 'synthetic' SE - but without the endpoints. Used to generate CDS, LDS.
    		// EDS is pass-through.
    		svcs := proxy.SidecarScope.Services()
    		for _, s := range svcs {
    			// Ignore services that are result of conversion from ServiceEntry.
    			if s.Attributes.ServiceRegistry == provider.External {
    				continue
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 05 19:01:38 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_workloadentry_test.go

    	s.assertEvent(t, s.podXdsName("pod1"))
    
    	s.addService(t, "svc1", map[string]string{}, // labels
    		map[string]string{}, // annotations
    		[]int32{80},
    		map[string]string{"app": "a"}, // selector
    		"10.0.0.1",
    	)
    	s.assertEvent(t, s.podXdsName("pod1"), "ns1/svc1.ns1.svc.company.com")
    
    	s.clearEvents()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top