Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Load (0.14 sec)

  1. cni/pkg/nodeagent/net_test.go

    	err := netServer.RemovePodFromMesh(ctx, pod)
    	assert.NoError(t, err)
    	assert.Equal(t, ztunnelServer.deletedPods.Load(), 1)
    	assert.Equal(t, nlDeps.DelInpodMarkIPRuleCnt.Load(), 1)
    	assert.Equal(t, nlDeps.DelLoopbackRoutesCnt.Load(), 1)
    	// make sure the uid was taken from cache and netns closed
    	netns := fixture.podNsMap.Take(string(pod.UID))
    	assert.Equal(t, nil, netns)
    
    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)
  2. cni/pkg/install/install_test.go

    			err := in.sleepWatchInstall(ctx, sets.String{})
    			if err != nil {
    				t.Fatalf("error should be nil due to invalid config, got: %v", err)
    			}
    			assert.Equal(t, isReady.Load(), false)
    
    			if len(c.invalidConfigFilename) > 0 {
    				if err := os.Remove(cniConfigFilepath); err != nil {
    					t.Fatal(err)
    				}
    			}
    
    			// Copy a valid config file into tempDir
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/healthServer_test.go

    	assert.Equal(t, installReady.Load(), false)
    	assert.Equal(t, watchReady.Load(), false)
    
    	server := httptest.NewServer(router)
    	defer server.Close()
    
    	makeReq(t, server.URL, constants.LivenessEndpoint, http.StatusOK)
    	makeReq(t, server.URL, constants.ReadinessEndpoint, http.StatusServiceUnavailable)
    
    	installReady.Store(true)
    	watchReady.Store(true)
    	assert.Equal(t, installReady.Load(), true)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/pod_cache_test.go

    	}
    
    	if !reflect.DeepEqual(netns1, netns2) {
    		t.Fatalf("Expected the same Netns for the same uid, got %v and %v", netns1, netns2)
    	}
    
    	if counter.Load() != 2 {
    		t.Fatalf("Expected openNetns to be called twice, got %d", counter.Load())
    	}
    }
    
    func TestUpsertPodCacheWithNewInode(t *testing.T) {
    	counter.Store(0)
    
    	p := newPodNetnsCache(openNsTestOverrideWithInodes(1, 2))
    
    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)
  5. istioctl/pkg/describe/describe_test.go

       Matching subsets: 
          (Non-matching subsets v1)
       Traffic Policy TLS Mode: ISTIO_MUTUAL
       Policies: load balancer/connection pool/outlier detection
       Port Level Settings:
        8080:
          TLS Mode: DISABLE
          Policies: load balancer/connection pool/outlier detection
    VirtualService: bookinfo
       Route to host "productpage" with weight 30%
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/healthServer.go

    	w.WriteHeader(http.StatusOK)
    }
    
    func readyz(installReady, watchReady *atomic.Value) http.HandlerFunc {
    	return func(w http.ResponseWriter, _ *http.Request) {
    		if !installReady.Load().(bool) || !watchReady.Load().(bool) {
    			http.Error(w, http.StatusText(http.StatusServiceUnavailable), http.StatusServiceUnavailable)
    			return
    		}
    		w.WriteHeader(http.StatusOK)
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. istioctl/pkg/workload/workload.go

    				ingressIP = ingress.Status.LoadBalancer.Ingress[0].IP
    			} else if len(ingress.Spec.ExternalIPs) > 0 {
    				ingressIP = ingress.Spec.ExternalIPs[0]
    			}
    			// TODO: add case where the load balancer is a DNS name
    		}
    	}
    
    	var hosts string
    	if netutil.IsValidIPAddress(ingressIP) {
    		hosts = fmt.Sprintf("%s %s\n", ingressIP, IstiodHost(istioNamespace, revision))
    	} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  8. istioctl/pkg/describe/describe.go

    	connectionPool *v1alpha3.ConnectionPoolSettings,
    	outlierDetection *v1alpha3.OutlierDetection,
    ) string {
    	extra := make([]string, 0)
    	if lb != nil {
    		extra = append(extra, "load balancer")
    	}
    	if connectionPool != nil {
    		extra = append(extra, "connection pool")
    	}
    	if outlierDetection != nil {
    		extra = append(extra, "outlier detection")
    	}
    	if len(extra) > 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest-generate_test.go

    		g.Expect(c).Should(HavePathValueEqual(PathValue{"env.[name:PILOT_CERT_PROVIDER].value", "foobar"}))
    		g.Expect(s).Should(HavePathValueContain(PathValue{"metadata.annotations", toMap("cloud.google.com/load-balancer-type: internal")}))
    		g.Expect(s).Should(HavePathValueContain(PathValue{"spec.ports.[0]", portVal("grpc-pilot-mtls", 15011, -1)}))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
Back to top