Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 55 for second (0.19 sec)

  1. cni/pkg/nodeagent/server_test.go

    	wg := &WaitGroup{
    		done: make(chan struct{}),
    	}
    
    	wg.Add(n)
    	return wg, func() {
    		select {
    		case <-wg.C():
    			return
    		case <-time.After(time.Second):
    			t.Fatal("Wait group timed out!\n")
    		}
    	}
    }
    
    func (wg *WaitGroup) Add(i int32) {
    	select {
    	case <-wg.done:
    		panic("use of an already closed WaitGroup")
    	default:
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/informers_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    		if p.Annotations[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled {
    			return
    		}
    		time.Sleep(1 * time.Second)
    	}
    	t.Fatal("Pod not annotated")
    }
    
    func assertPodNotAnnotated(t *testing.T, client kube.Client, pod *corev1.Pod) {
    	for i := 0; i < 5; i++ {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  3. manifests/charts/istio-control/istio-discovery/values.yaml

        # For `network1` all endpoints that their IP belongs to the provided CIDR range will be
        # mapped to network1. The gateway for this network example is specified by its public IP
        # address and port.
        # The second network, `network2`, in this example is defined differently with all endpoints
        # retrieved through the specified Multi-Cluster registry being mapped to network2. The
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 22:00:40 GMT 2024
    - 20.3K bytes
    - Viewed (0)
  4. operator/cmd/mesh/install.go

    	cmd.PersistentFlags().StringSliceVarP(&args.InFilenames, "filename", "f", nil, filenameFlagHelpStr)
    	cmd.PersistentFlags().DurationVar(&args.ReadinessTimeout, "readiness-timeout", 300*time.Second,
    		"Maximum time to wait for Istio resources in each component to be ready.")
    	cmd.PersistentFlags().BoolVarP(&args.SkipConfirmation, "skip-confirmation", "y", false, skipConfirmationFlagHelpStr)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  5. istioctl/pkg/kubeinject/kubeinject.go

    		certPool, err = x509.SystemCertPool()
    		if err != nil {
    			return nil, err
    		}
    	}
    	tlsClientConfig := &tls.Config{RootCAs: certPool, MinVersion: tls.VersionTLS12}
    	client := http.Client{
    		Timeout: time.Second * 5,
    		Transport: &http.Transport{
    			TLSClientConfig: tlsClientConfig,
    		},
    	}
    	if cc.Service != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  6. cni/pkg/repair/repair_test.go

    			mt := monitortest.New(t)
    			tt.config.LabelPods = true
    			c, err := NewRepairController(tt.client, tt.config)
    			assert.NoError(t, err)
    			t.Cleanup(func() {
    				assert.NoError(t, c.queue.WaitForClose(time.Second))
    			})
    			stop := test.NewStop(t)
    			tt.client.RunAndWait(stop)
    			go c.Run(stop)
    			kube.WaitForCacheSync("test", stop, c.queue.HasSynced)
    
    			assert.EventuallyEqual(t, func() map[string]string {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 24 03:31:28 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  7. istioctl/pkg/wait/wait.go

    	nameflag     string
    	proxyFlag    string
    	threshold    float32
    	timeout      time.Duration
    	generation   string
    	verbose      bool
    	targetSchema resource.Schema
    )
    
    const pollInterval = time.Second
    
    // Cmd represents the wait command
    func Cmd(cliCtx cli.Context) *cobra.Command {
    	namespace := cliCtx.Namespace()
    	var opts clioptions.ControlPlaneOptions
    	cmd := &cobra.Command{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  8. manifests/addons/dashboards/istio-performance-dashboard.json

     "content": "The charts on this dashboard are intended to show Istio main components cost in terms of resources utilization under steady load.\n\n- **vCPU / 1k rps:** shows vCPU utilization by the main Istio components normalized by 1000 requests/second. When idle or low traffic, this chart will be blank. The curve for istio-proxy refers to the services sidecars only.\n- **vCPU:** vCPU utilization by Istio components, not normalized.\n- **Memory:** memory footprint for the components. Telemetry and...
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 27 03:47:04 GMT 2024
    - 39.6K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/net_test.go

    // sure the netns is closed eventually.
    func assertNSClosed(t *testing.T, closed *atomic.Bool) {
    	for i := 0; i < 5; i++ {
    		if closed.Load() {
    			return
    		}
    		time.Sleep(1 * time.Second)
    	}
    	t.Fatal("NS not closed")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/pod_cache_test.go

    	netns2 := p.UpsertPodCacheWithNetns(string(pod.UID), wl2)
    	if netns2 != ns {
    		t.Fatalf("Expected the original Netns for the same uid, got %p and %p", netns2, ns)
    	}
    	if !ns2.closed.Load() {
    		t.Fatalf("Expected the second Netns to be closed")
    	}
    }
    
    func TestDoubleTake(t *testing.T) {
    	p := newPodNetnsCache(openNsTestOverride)
    
    	pod := &corev1.Pod{ObjectMeta: metav1.ObjectMeta{UID: "testUID"}}
    	ns := newFakeNs(inc())
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top