Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addService (0.1 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    			s.addWaypoint(t, "10.0.0.10", "test-wp", c.trafficType, true)
    			s.addPods(t, "127.0.0.1", "pod1", "sa1",
    				map[string]string{"app": "a"}, nil, true, corev1.PodRunning)
    			s.assertEvent(t, s.podXdsName("pod1"))
    			s.addService(t, "svc1",
    				map[string]string{},
    				map[string]string{},
    				[]int32{80}, map[string]string{"app": "a"}, "10.0.0.1")
    			s.assertEvent(t, s.svcXdsName("svc1"), s.podXdsName("pod1"))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			defer controller.pods.RUnlock()
    			if _, ok := controller.pods.podsByIP[ip]; ok {
    				return fmt.Errorf("pod still present")
    			}
    			return nil
    		}, retry.Timeout(time.Second))
    	}
    	addService := func(name string) {
    		// create service
    		createServiceWait(controller, name, "nsA", nil, nil,
    			[]int32{8080}, map[string]string{"app": "prod-app"}, t)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    	// Now add few services in between and validate that IPs are retained for original services.
    	addServices := map[string]bool{
    		"b.com": true,
    		"d.com": true,
    		"f.com": true,
    		"h.com": true,
    		"j.com": true,
    		"m.com": true,
    		"p.com": true,
    		"q.com": true,
    		"r.com": true,
    	}
    
    	for k := range addServices {
    		inServices = append(inServices, &model.Service{
    			Hostname:       host.Name(k),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
Back to top