Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 188 for vips (0.04 sec)

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

    		// Wait for the XDS event.
    		ic.checkXDS(t)
    	}
    }
    
    func (ic *serviceImportCacheImpl) setServiceImportVIPs(t *testing.T, vips []string) {
    	t.Helper()
    
    	// Get the ServiceImport
    	si := ic.getServiceImport(t)
    
    	// Apply the ClusterSet IPs.
    	si.Spec.IPs = vips
    	if _, err := ic.client.Dynamic().Resource(mcs.ServiceImportGVR).Namespace(serviceImportNamespace).Update(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/serviceimportcache.go

    	}
    	sort.Strings(ips)
    	return ips
    }
    
    // genMCSService generates an MCS service based on the given real k8s service. The list of vips must be non-empty.
    func (ic *serviceImportCacheImpl) genMCSService(realService *model.Service, mcsHost host.Name, vips []string) *model.Service {
    	mcsService := realService.DeepCopy()
    	mcsService.Hostname = mcsHost
    	mcsService.DefaultAddress = vips[0]
    	mcsService.ClusterVIPs.Addresses = map[cluster.ID][]string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/ztunnel/configdump/testdata/dump.json

        }
      },
      "services": {
        "/10.96.65.117": {
          "name": "namespace-istio-waypoint",
          "namespace": "bookinfo",
          "hostname": "namespace-istio-waypoint.bookinfo.svc.cluster.local",
          "vips": [
            "/10.96.65.117"
          ],
          "ports": {
            "15008": 15008,
            "15021": 15021
          },
          "endpoints": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. pkg/proxy/winkernel/hns.go

    		return nil, err
    	}
    	if len(vip) > 0 {
    		id = loadBalancerIdentifier{protocol: protocol, internalPort: internalPort, externalPort: externalPort, vip: vip, endpointsHash: hash}
    		vips = append(vips, vip)
    	} else {
    		id = loadBalancerIdentifier{protocol: protocol, internalPort: internalPort, externalPort: externalPort, endpointsHash: hash}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 21:21:12 UTC 2023
    - 15K bytes
    - Viewed (0)
  5. pilot/pkg/xds/eds_sh_test.go

    					"10.4.0.1": 2,
    					"10.4.0.2": 2,
    					"10.4.0.3": 2,
    					"10.4.0.4": 2,
    				},
    			},
    		},
    		{
    			// Verify that EDS from network2 will return 2 local endpoints with local VIPs + 2 remote
    			// endpoints weighted accordingly with the IP of the ingress gateway.
    			network:   "network2",
    			sidecarID: sidecarID("10.2.0.1", "app3"),
    			want: expectedResults{
    				weights: map[string]uint32{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. pilot/pkg/model/service_test.go

    						"cluster-1": {"c1-vip1,c1-vip2"},
    						"cluster-2": {"c2-vip1,c2-vip2"},
    					},
    				},
    			},
    			other: &Service{
    				ClusterVIPs: AddressMap{
    					Addresses: map[cluster.ID][]string{
    						"cluster-1": {"c1-vip1,c1-vip2"},
    						"cluster-2": {"c2-vip1,c2-vip2"},
    					},
    				},
    			},
    			shouldEq: true,
    			name:     "matching cluster VIPs",
    		},
    		{
    			first: &Service{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_serviceentry_test.go

    					CanonicalName:     "a",
    					CanonicalRevision: "latest",
    					ServiceAccount:    "sa1",
    					WorkloadType:      workloadapi.WorkloadType_POD,
    					WorkloadName:      "pod1",
    					Services:          nil, // vips for pod1 should be gone now
    				},
    			},
    		},
    	}})
    
    	assert.Equal(t, s.lookup(s.addrXdsName("240.240.34.56")), []model.AddressInfo{{
    		Address: &workloadapi.Address{
    			Type: &workloadapi.Address_Workload{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 03:01:04 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. pilot/pkg/xds/workload_test.go

    		createPod(s, "pod2", "sa", "127.0.0.2", "node")
    		expect(ads.ExpectResponse(), "Kubernetes//Pod/default/pod2")
    
    		// TODO: implement pod update; this actually cannot really be done without waypoints or VIPs
    		deletePod(s, "pod")
    		expectRemoved(ads.ExpectResponse(), "Kubernetes//Pod/default/pod")
    
    		// Create pod we are not subscribed to; due to same-node optimization this will push
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  9. pilot/pkg/xds/xds_test.go

    				ConfigString: `
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: external-svc-mongocluster
    spec:
      hosts:
      - mymongodb.somedomain 
      addresses:
      - 192.192.192.192/24 # VIPs
      ports:
      - number: 27018
        name: mongodb
        protocol: MONGO
      location: MESH_INTERNAL
      resolution: STATIC
      endpoints:
      - address: 2.2.2.2
      - address: 3.3.3.3
    `,
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. pkg/dns/server/name_table_test.go

    						Ips:       []string{"1.2.3.4"},
    						Registry:  "Kubernetes",
    						Shortname: "pod1.headless-svc",
    						Namespace: "testns",
    					},
    					"pod3.headless-svc.testns.svc.cluster.local": {
    						Ips:       []string{"19.6.7.8"},
    						Registry:  "Kubernetes",
    						Shortname: "pod3.headless-svc",
    						Namespace: "testns",
    					},
    					"pod4.headless-svc.testns.svc.cluster.local": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 25 04:26:03 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top