Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. istioctl/pkg/precheck/precheck.go

    func checkExternalNameAlias(cli kube.CLIClient, messages *diag.Messages) error {
    	svcs, err := cli.Kube().CoreV1().Services(metav1.NamespaceAll).List(context.Background(), metav1.ListOptions{})
    	if err != nil {
    		return err
    	}
    	for _, svc := range svcs.Items {
    		if svc.Spec.Type != corev1.ServiceTypeExternalName {
    			continue
    		}
    		res := ObjectToInstance(&svc)
    		messages.Add(msg.NewUpdateIncompatibility(res,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 02:57:30 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. pkg/registry/core/service/storage/storage_test.go

    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Store)
    	svc := validService()
    	svc.ObjectMeta = metav1.ObjectMeta{} // because genericregistrytest
    	test.TestCreate(
    		// valid
    		svc,
    		// invalid
    		&api.Service{
    			Spec: api.ServiceSpec{},
    		},
    	)
    }
    
    func TestGenericUpdate(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
Back to top