Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for Healthy (0.11 sec)

  1. pkg/kubelet/cm/devicemanager/manager_test.go

    	as.True(ok)
    	checkAllocatableDevicesConsistsOf(as, devInstances, []string{"R1Device1", "R1Device2"})
    
    	// Unhealthy device becomes healthy
    	resource1Devs = []pluginapi.Device{
    		{ID: "R1Device1", Health: pluginapi.Healthy},
    		{ID: "R1Device2", Health: pluginapi.Healthy},
    		{ID: "R1Device3", Health: pluginapi.Healthy},
    	}
    	testManager.genericDeviceUpdateCallback(resourceName1, resource1Devs)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    			})
    
    			healthy := erasureSetUpCount[poolIdx][setIdx].online >= poolWriteQuorums[poolIdx]
    			if !healthy {
    				storageLogIf(logger.SetReqInfo(ctx, reqInfo),
    					fmt.Errorf("Write quorum may be lost on pool: %d, set: %d, expected write quorum: %d",
    						poolIdx, setIdx, poolWriteQuorums[poolIdx]), logger.FatalKind)
    			}
    			result.Healthy = result.Healthy && healthy
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/serviceregistry_test.go

    		out = append(out, "connect_originate;"+s)
    	}
    	return out
    }
    
    func setHealth(cfg config.Config, healthy bool) config.Config {
    	cfg = cfg.DeepCopy()
    	if cfg.Annotations == nil {
    		cfg.Annotations = map[string]string{}
    	}
    	cfg.Annotations[status.WorkloadEntryHealthCheckAnnotation] = "true"
    	if healthy {
    		return status.UpdateConfigCondition(cfg, &v1alpha1.IstioCondition{
    			Type:   status.ConditionHealthy,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  4. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    	waitForDetachCallCount(t, 0 /* expectedDetachCallCount */, fakePlugin)
    }
    
    // Populates desiredStateOfWorld cache with one node/volume/pod tuple.
    // The node starts as healthy.
    //
    // Calls Run()
    // Verifies there is one attach call and no detach calls.
    // Deletes the pod from desiredStateOfWorld cache without first marking the node/volume as unmounted.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  5. pkg/controller/nodelifecycle/node_lifecycle_controller.go

    	// controller. The node health signal update frequency is the minimal of the
    	// two.
    	// There are several constraints:
    	// 1. nodeMonitorGracePeriod must be N times more than  the node health signal
    	//    update frequency, where N means number of retries allowed for kubelet to
    	//    post node status/lease. It is pointless to make nodeMonitorGracePeriod
    	//    be less than the node health signal update frequency, since there will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  6. pkg/controller/disruption/disruption_test.go

    	add(t, dc.rcStore, rc)
    	dc.sync(ctx, pdbName)
    	// One RC and 200%>1% healthy => disruption allowed
    	ps.VerifyDisruptionAllowed(t, pdbName, 1)
    
    	rc, _ = newReplicationController(t, 1)
    	rc.Name = "rc 2"
    	for i := 0; i < podCount; i++ {
    		updatePodOwnerToRc(t, pods[i], rc)
    	}
    	add(t, dc.rcStore, rc)
    	dc.sync(ctx, pdbName)
    
    	// 100%>1% healthy BUT two RCs => no disruption allowed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  7. pkg/workloadapi/workload.pb.go

    )
    
    type WorkloadStatus int32
    
    const (
    	// Workload is healthy and ready to serve traffic.
    	WorkloadStatus_HEALTHY WorkloadStatus = 0
    	// Workload is unhealthy and NOT ready to serve traffic.
    	WorkloadStatus_UNHEALTHY WorkloadStatus = 1
    )
    
    // Enum value maps for WorkloadStatus.
    var (
    	WorkloadStatus_name = map[int32]string{
    		0: "HEALTHY",
    		1: "UNHEALTHY",
    	}
    	WorkloadStatus_value = map[string]int32{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        }
        if (connection.isHealthy(false)) {
          throw TimeoutException("connection didn't shutdown within timeout")
        }
      }
    
      /**
       * This simulates a race condition where we receive a healthy HTTP/2 connection and just prior to
       * writing our request, we get a GOAWAY frame from the server.
       */
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(peer.takeFrame().type).isEqualTo(Http2.TYPE_RST_STREAM)
      }
    
      /**
       * Confirm that the client times out if the server stalls after 3 bytes. After the timeout the
       * connection is still considered healthy while we await the degraded pong. When that doesn't
       * arrive the connection goes unhealthy.
       */
      @Test fun readTimesOut() {
        // Write the mocking script.
        peer.sendFrame().settings(Settings())
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  10. cmd/kubelet/app/server.go

    		return err
    	}
    
    	if s.HealthzPort > 0 {
    		mux := http.NewServeMux()
    		healthz.InstallHandler(mux)
    		go wait.Until(func() {
    			err := http.ListenAndServe(net.JoinHostPort(s.HealthzBindAddress, strconv.Itoa(int(s.HealthzPort))), mux)
    			if err != nil {
    				klog.ErrorS(err, "Failed to start healthz server")
    			}
    		}, 5*time.Second, wait.NeverStop)
    	}
    
    	if s.RunOnce {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
Back to top