Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,829 for unready (0.46 sec)

  1. pkg/controller/podautoscaler/replica_calculator.go

    					// Ignore sample if pod is unready or one window of metric wasn't collected since last state transition.
    					unready = condition.Status == v1.ConditionFalse || metric.Timestamp.Before(condition.LastTransitionTime.Time.Add(metric.Window))
    				} else {
    					// Ignore metric if pod is unready and it has never been ready.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  2. pkg/kubelet/status/generate_test.go

    		},
    	}
    
    	for i, test := range tests {
    		ready := GenerateContainersReadyCondition(test.spec, test.containerStatuses, test.podPhase)
    		if !reflect.DeepEqual(ready, test.expectReady) {
    			t.Errorf("On test case %v, expectReady:\n%+v\ngot\n%+v\n", i, test.expectReady, ready)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 15:18:11 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  3. pkg/proxy/endpointslicecache_test.go

    				},
    			},
    		},
    		// 2 slices with all endpoints overlapping, more unready in first than
    		// second. If an endpoint is marked ready, we add it to the
    		// EndpointsMap, even if conditions.Ready isn't true for another
    		// matching endpoint
    		"2 slices, overlapping endpoints, some endpoints unready in 1 or both": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:07:21 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  4. pkg/kubemark/controller.go

    	client    kubeclient.Interface
    }
    
    // kubemarkCluster is used to delete nodes from kubemark cluster once their
    // respective replication controllers have been deleted and the nodes have
    // become unready. This is to cover for the fact that there is no proper cloud
    // provider for kubemark that would care for deleting the nodes.
    type kubemarkCluster struct {
    	client            kubeclient.Interface
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 17 23:02:17 UTC 2020
    - 14.1K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/cluster_traffic_policy.go

    	locality *core.Locality, proxyLabels map[string]string, meshConfig *meshconfig.MeshConfig,
    ) {
    	// Disable panic threshold when SendUnhealthyEndpoints is enabled as enabling it "may" send traffic to unready
    	// end points when load balancer is in panic mode.
    	if features.SendUnhealthyEndpoints.Load() {
    		c.CommonLbConfig.HealthyPanicThreshold = &xdstype.Percent{Value: 0}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 20K bytes
    - Viewed (0)
  6. pkg/registry/core/pod/storage/eviction.go

    	}
    
    	// At this point there was either no PDB or we succeeded in decrementing or
    	// the pod was unhealthy (unready) and we have enough healthy replicas
    
    	deleteOptions := originalDeleteOptions
    
    	// Set deleteOptions.Preconditions.ResourceVersion to ensure
    	// the pod hasn't been considered healthy (ready) since we calculated
    	if updateDeletionOptions {
    		// Take a copy so we can compare to client-provied Options later.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 11:58:48 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  7. pkg/kubelet/status/generate.go

    		}
    	}
    
    	return v1.PodCondition{
    		Type:   v1.ContainersReady,
    		Status: v1.ConditionTrue,
    	}
    }
    
    // GeneratePodReadyCondition returns "Ready" condition of a pod.
    // The status of "Ready" condition is "True", if all containers in a pod are ready
    // AND all matching conditions specified in the ReadinessGates have status equal to "True".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 15:18:11 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  8. pkg/proxy/topology_test.go

    			&BaseEndpointInfo{endpoint: "10.0.0.1:80", ready: false},
    		},
    		clusterEndpoints: sets.New[string](),
    		localEndpoints:   nil,
    	}, {
    		name:        "Cluster traffic policy, some endpoints are Ready",
    		serviceInfo: &BaseServicePortInfo{},
    		endpoints: []Endpoint{
    			&BaseEndpointInfo{endpoint: "10.0.0.0:80", ready: false},
    			&BaseEndpointInfo{endpoint: "10.0.0.1:80", ready: true},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/informers.go

    		} else {
    			// If oldpod != ready && newpod != ready, but the ambient annotation was added,
    			// then assume this event was generated by the CNI plugin labeling the pod on startup,
    			// and skip the event.
    			//
    			// This isn't perfect (someone could manually annotate an unready pod,
    			// then install Istio, then the pod goes ready, and we'd miss capture) - but that
    			// seems vanishingly unlikely
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. pkg/controller/daemon/update_test.go

    		logger.Info("marked pod ready", "pod", pod.Name, "ready", ready)
    		count--
    	}
    	if count > 0 {
    		t.Fatalf("could not mark %d pods ready=%t", count, ready)
    	}
    }
    
    func currentDSHash(dsc *daemonSetsController, ds *apps.DaemonSet) (string, error) {
    	// Construct histories of the DaemonSet, and get the hash of current history
    	cur, _, err := dsc.constructHistory(context.TODO(), ds)
    	if err != nil {
    		return "", err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 10 21:10:35 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top