Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for service2 (0.42 sec)

  1. pkg/proxy/ipvs/proxier_test.go

    			}}
    		}),
    	)
    	fp.syncProxyRules()
    
    	// check ipvs service and destinations
    	services, err := ipvs.GetVirtualServers()
    	if err != nil {
    		t.Errorf("Failed to get ipvs services, err: %v", err)
    	}
    	if len(services) != 2 {
    		t.Errorf("Expect 2 ipvs services, got %d", len(services))
    	}
    	found := false
    	for _, svc := range services {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  2. pkg/printers/internalversion/printers_test.go

    	}
    }
    
    func TestPrintServiceLoadBalancer(t *testing.T) {
    	tests := []struct {
    		service  api.Service
    		options  printers.GenerateOptions
    		expected []metav1.TableRow
    	}{
    		// Test load balancer service with multiple external IP's
    		{
    			service: api.Service{
    				ObjectMeta: metav1.ObjectMeta{Name: "service1"},
    				Spec: api.ServiceSpec{
    					ClusterIPs: []string{"1.2.3.4"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  3. pkg/config/validation/validation_test.go

    					{Number: 6553, Protocol: "grpc", Name: "grpc-service1"},
    				},
    				Resolution: networking.ServiceEntry_STATIC,
    				Endpoints: []*networking.WorkloadEntry{
    					{Address: "unix:///path/to/socket", Ports: map[string]uint32{"grpc-service1": 6553}},
    				},
    			},
    			valid: false,
    		},
    		{
    			name: "unix socket, multiple service ports", in: &networking.ServiceEntry{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  4. pkg/proxy/nftables/proxier_test.go

    		add element ip kube-proxy service-ips { 172.30.0.41 . tcp . 80 : goto service-ULMVA6XW-ns1/svc1/tcp/p80 }
    		add element ip kube-proxy service-ips { 172.30.0.42 . tcp . 8080 : goto service-MHHHYRWA-ns2/svc2/tcp/p8080 }
    		add element ip kube-proxy service-ips { 172.30.0.43 . tcp . 80 : goto service-4AT6LBPK-ns3/svc3/tcp/p80 }
    
    		add chain ip kube-proxy service-ULMVA6XW-ns1/svc1/tcp/p80
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster_test.go

    		},
    		{
    			name:          "service port is removed",
    			services:      []*model.Service{testService1},
    			configUpdated: sets.New(model.ConfigKey{Kind: kind.ServiceEntry, Name: "test.com", Namespace: TestServiceNamespace}),
    			instances: []*model.ServiceInstance{{
    				Service:     testService1,
    				ServicePort: &model.Port{Port: 8080},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/cluster_builder_test.go

    			t.Run(fmt.Sprintf("%s_%s", tt.name, resolution), func(t *testing.T) {
    				service.Resolution = resolution
    				cg := NewConfigGenTest(t, TestOptions{
    					MeshConfig: tt.mesh,
    					Services:   []*model.Service{service},
    					Instances:  tt.instances,
    				})
    
    				cb := NewClusterBuilder(cg.SetupProxy(proxy), &model.PushRequest{Push: cg.PushContext()}, nil)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                    _ARETURN();
                }});
            }
    
            private void generateServiceRegistrySupport() {
                // GENERATE private transient ServiceLookup services;
                // GENERATE if (services != null) { return services; } else { return AsmBackedClassGenerator.getServicesForNext(); }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/gateway_test.go

    	}
    
    	if service, exist := nameToServiceMap[barHostName]; !exist || service == nil {
    		t.Errorf("The service of %s not found or should be not nil", barHostName)
    	} else {
    		if service.Ports[0].Port != 8080 {
    			t.Errorf("The port of %s is wrong.", barHostName)
    		}
    
    		if service.Attributes.Namespace != "default" {
    			t.Errorf("The namespace of %s is wrong.", barHostName)
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods.go

    		return m, nil
    	}
    	services, err := kl.serviceLister.List(labels.Everything())
    	if err != nil {
    		return m, fmt.Errorf("failed to list services when setting up env vars")
    	}
    
    	// project the services in namespace ns onto the master services
    	for i := range services {
    		service := services[i]
    		// ignore services where ClusterIP is "None" or empty
    		if !v1helper.IsServiceIPSet(service) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  10. tests/integration/pilot/common/routing.go

    			fmt.Sprintf("%s:12345", cfg.ClusterLocalFQDN()),
    			fmt.Sprintf("%s.%s.svc", cfg.Service, cfg.Namespace.Name()),
    			fmt.Sprintf("%s.%s.svc:%d", cfg.Service, cfg.Namespace.Name(), port),
    			fmt.Sprintf("%s.%s.svc:12345", cfg.Service, cfg.Namespace.Name()),
    			cfg.Service,
    			fmt.Sprintf("%s:%d", cfg.Service, port),
    			fmt.Sprintf("%s:12345", cfg.Service),
    			fmt.Sprintf("some-instances.%s:%d", cfg.ClusterLocalFQDN(), 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