Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for UNHEALTHY (0.19 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/HealthExpirationStrategyTest.groovy

            given:
            Logger logger = Mock(Logger)
            DaemonHealthStats stats = Mock(DaemonHealthStats)
            stats.getNonHeapStats() >> belowThreshold
            def underTest = new HealthExpirationStrategy(stats, strategy, logger)
    
            // If there is no unhealthy condition, we expect no logging.
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. pkg/controller/deployment/rolling.go

    		return false, nil
    	}
    
    	// Clean up unhealthy replicas first, otherwise unhealthy replicas will block deployment
    	// and cause timeout. See https://github.com/kubernetes/kubernetes/issues/16737
    	oldRSs, cleanupCount, err := dc.cleanupUnhealthyReplicas(ctx, oldRSs, deployment, maxScaledDown)
    	if err != nil {
    		return false, nil
    	}
    	logger.V(4).Info("Cleaned up unhealthy replicas from old RSes", "count", cleanupCount)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 07:09:11 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. pilot/pkg/xds/eds_test.go

    			validateEndpoints := func(expectPush bool, healthy []string, unhealthy []string) {
    				t.Helper()
    				// Normalize lists to make comparison easier
    				if healthy == nil {
    					healthy = []string{}
    				}
    				if unhealthy == nil {
    					unhealthy = []string{}
    				}
    				sort.Strings(healthy)
    				sort.Strings(unhealthy)
    				if expectPush {
    					upd, err := adscon.Wait(5*time.Second, v3.EndpointType)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 20:58:47 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_set_control.go

    		if !isHealthy(condemned[i]) {
    			unhealthy++
    			if firstUnhealthyPod == nil {
    				firstUnhealthyPod = condemned[i]
    			}
    		}
    	}
    
    	if unhealthy > 0 {
    		logger.V(4).Info("StatefulSet has unhealthy Pods", "statefulSet", klog.KObj(set), "unhealthyReplicas", unhealthy, "pod", klog.KObj(firstUnhealthyPod))
    	}
    
    	// If the StatefulSet is being deleted, don't do anything other than updating
    	// status.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  5. pkg/registry/core/pod/storage/eviction_test.go

    			prc: &api.PodCondition{
    				Type:   api.PodReady,
    				Status: api.ConditionTrue,
    			},
    		},
    		{
    			name: "matching pdbs with no disruptions allowed, pod running, pod unhealthy, unhealthy pod ours",
    			pdbs: []runtime.Object{&policyv1.PodDisruptionBudget{
    				ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "default"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  6. pkg/istio-agent/xds_proxy_test.go

    	test.SetForTest(t, &features.ValidateWorkloadEntryIdentity, false)
    	healthy := &discovery.DiscoveryRequest{TypeUrl: v3.HealthInfoType}
    	unhealthy := &discovery.DiscoveryRequest{
    		TypeUrl: v3.HealthInfoType,
    		ErrorDetail: &google_rpc.Status{
    			Code:    500,
    			Message: "unhealthy",
    		},
    	}
    	node := model.NodeMetadata{
    		AutoRegisterGroup: "group",
    		Namespace:         "default",
    		InstanceIPs:       []string{"1.1.1.1"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 04:48:02 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. pilot/test/xdstest/extract.go

    			}
    			if lb.HealthStatus == core.HealthStatus_HEALTHY {
    				healthy = append(healthy, addrString)
    			} else {
    				unhealthy = append(unhealthy, addrString)
    			}
    		}
    	}
    	return healthy, unhealthy
    }
    
    // ExtractEndpoints returns all endpoints in the load assignment (including unhealthy endpoints)
    func ExtractEndpoints(cla *endpoint.ClusterLoadAssignment) []string {
    	h, uh := ExtractHealthEndpoints(cla)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  8. pkg/controller/deployment/rolling_test.go

    			expectedOldReplicas: 8,
    		},
    		{ // expect unhealthy replicas from old replica sets been cleaned up
    			deploymentReplicas:  10,
    			maxUnavailable:      intstr.FromInt32(2),
    			oldReplicas:         10,
    			newReplicas:         0,
    			readyPodsFromOldRS:  8,
    			readyPodsFromNewRS:  0,
    			scaleExpected:       true,
    			expectedOldReplicas: 8,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 11K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/policy/v1/types.go

    	// +optional
    	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty" protobuf:"bytes,3,opt,name=maxUnavailable"`
    
    	// UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods
    	// should be considered for eviction. Current implementation considers healthy pods,
    	// as pods that have status.conditions item with type="Ready",status="True".
    	//
    	// Valid policies are IfHealthyBudget and AlwaysAllow.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. pkg/registry/core/pod/storage/eviction.go

    					// Delete the unhealthy pod, it doesn't count towards currentHealthy and desiredHealthy and we should not decrement disruptionsAllowed.
    					updateDeletionOptions = true
    					return nil
    				}
    			}
    			// default nil and IfHealthyBudget policy
    			if pdb.Status.CurrentHealthy >= pdb.Status.DesiredHealthy && pdb.Status.DesiredHealthy > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 11:58:48 UTC 2023
    - 18.2K bytes
    - Viewed (0)
Back to top