Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for vips (0.48 sec)

  1. tests/integration/ambient/baseline_test.go

        ports:
          http: {{.IngressHttpPort}}`).
    				WithParams(param.Params{}.SetWellKnown(param.Namespace, apps.Namespace))
    
    			ips, ports := istio.DefaultIngressOrFail(t, t).HTTPAddresses()
    			for _, tc := range testCases {
    				tc := tc
    				for i, ip := range ips {
    					t.NewSubTestf("%s %s %s", tc.location, tc.resolution, ip).Run(func(t framework.TestContext) {
    						echotest.
    							New(t, apps.All).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  2. pkg/proxy/iptables/proxier.go

    				if cidr.Contains(proxier.nodeIP) {
    					allowFromNode = true
    				}
    			}
    			// For VIP-like LBs, the VIP is often added as a local
    			// address (via an IP route rule).  In that case, a request
    			// from a node to the VIP will not hit the loadbalancer but
    			// will loop back with the source IP set to the VIP.  We
    			// need the following rules to allow requests from this node.
    			if allowFromNode {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  3. src/net/netip/netip_test.go

    	b.ReportAllocs()
    	ips := []net.IP{}
    	for i := 0; i < b.N; i++ {
    		ip := net.IPv4(8, 8, 8, 8)
    		ips = ips[:0]
    		for i := 0; i < 100; i++ {
    			ips = append(ips, ip)
    		}
    	}
    }
    
    func BenchmarkIPv4(b *testing.B) {
    	b.ReportAllocs()
    	ips := []Addr{}
    	for i := 0; i < b.N; i++ {
    		ip := IPv4(8, 8, 8, 8)
    		ips = ips[:0]
    		for i := 0; i < 100; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	testCases := []struct {
    		name      string
    		pods      []*corev1.Pod
    		ips       []string
    		ports     []corev1.ServicePort
    		wantPorts []model.ServiceInstancePort
    	}{
    		{
    			name: "multiple proxy ips single port",
    			pods: []*corev1.Pod{pod1},
    			ips:  []string{"128.0.0.1", "192.168.2.6"},
    			ports: []corev1.ServicePort{
    				{
    					Name:       "tcp-port",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  5. pkg/proxy/nftables/proxier.go

    	// service dispatch
    	servicesChain       = "services"
    	serviceIPsMap       = "service-ips"
    	serviceNodePortsMap = "service-nodeports"
    
    	// set of IPs that accept NodePort traffic
    	nodePortIPsSet = "nodeport-ips"
    
    	// set of active ClusterIPs.
    	clusterIPsSet = "cluster-ips"
    
    	// handling for services with no endpoints
    	serviceEndpointsCheckChain  = "service-endpoints-check"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  6. src/cmd/dist/build.go

    	rebuildall bool
    	noOpt      bool
    	isRelease  bool
    
    	vflag int // verbosity
    )
    
    // The known architectures.
    var okgoarch = []string{
    	"386",
    	"amd64",
    	"arm",
    	"arm64",
    	"loong64",
    	"mips",
    	"mipsle",
    	"mips64",
    	"mips64le",
    	"ppc64",
    	"ppc64le",
    	"riscv64",
    	"s390x",
    	"sparc64",
    	"wasm",
    }
    
    // The known operating systems.
    var okgoos = []string{
    	"darwin",
    	"dragonfly",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/serviceregistry_test.go

    	}
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    func createEndpoints(t *testing.T, c kubernetes.Interface, name, namespace string, ports []v1.EndpointPort, ips []string) {
    	createEndpointSlice(t, c, name, name, namespace, ports, ips)
    }
    
    // nolint: unparam
    func createEndpointSlice(t *testing.T, c kubernetes.Interface, name, serviceName, namespace string, ports []v1.EndpointPort, addrs []string) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    						got.AutoAllocatedIPv6Address, tt.wantServices[i].AutoAllocatedIPv6Address)
    				}
    			}
    		})
    	}
    }
    
    func Test_autoAllocateIP_values(t *testing.T) {
    	ips := maxIPs
    	inServices := make([]*model.Service, ips)
    	for i := 0; i < ips; i++ {
    		temp := model.Service{
    			Hostname:       host.Name(fmt.Sprintf("foo%d.com", i)),
    			Resolution:     model.ClientSideLB,
    			DefaultAddress: constants.UnspecifiedIP,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    	// podIP isn't in the status manager yet. The list of podIPs is used to
    	// generate the hosts file.
    	//
    	// We default to the IPs in the passed-in pod status, and overwrite them if the
    	// sandbox needs to be (re)started.
    	var podIPs []string
    	if podStatus != nil {
    		podIPs = podStatus.IPs
    	}
    
    	// Step 4: Create a sandbox for the pod if necessary.
    	podSandboxID := podContainerChanges.SandboxID
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  10. pkg/controller/endpointslice/endpointslice_controller_test.go

    		service               *v1.Service
    		pods                  []*v1.Pod
    		expectedEndpointPorts []discovery.EndpointPort
    		expectedEndpoints     []discovery.Endpoint
    	}{
    		{
    			name: "pods with multiple IPs and Service with ipFamilies=ipv4",
    			service: &v1.Service{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:              "foobar",
    					Namespace:         "default",
    					CreationTimestamp: creationTimestamp,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
Back to top