Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,894 for unready (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. pkg/controller/endpointslice/endpointslice_controller_test.go

    		},
    		expectedQueueLen: 1,
    	}, {
    		name: "lopsided but 1 unready, queue required because unready node means 0 CPU in one zone",
    		nodes: []nodeInfo{
    			{zoneLabel: &zoneA, ready: &readyFalse, cpu: &cpu100},
    			{zoneLabel: &zoneB, ready: &readyTrue, cpu: &cpu1000},
    			{zoneLabel: &zoneC, ready: &readyTrue, cpu: &cpu2000},
    		},
    		topologyCacheEnabled: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	// Before accessing the cacher's cache, wait for the ready to be ok.
    	// This is necessary to prevent users from accessing structures that are
    	// uninitialized or are being repopulated right now.
    	// ready needs to be set to false when the cacher is paused or stopped.
    	// ready needs to be set to true when the cacher is ready to use after
    	// initialization.
    	ready *ready
    
    	// Underlying storage.Interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/serviceregistry_test.go

    	newPod.Status.PodIPs = []v1.PodIP{
    		{
    			IP: pod.Status.PodIP,
    		},
    	}
    	newPod.Status.Phase = v1.PodRunning
    
    	// Also need to sets the pod to be ready as now we only add pod into service entry endpoint when it's ready
    	setPodReady(newPod)
    	_, err = c.CoreV1().Pods(pod.Namespace).UpdateStatus(context.TODO(), newPod, metav1.UpdateOptions{})
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  10. pkg/controller/daemon/daemon_controller_test.go

    	pod := newPod("node-1-", "node-1", simpleDaemonSetLabel, ds)
    	pod.CreationTimestamp.Time = time.Unix(100, 0)
    	manager.podStore.Add(pod)
    
    	// will be deleted because it is unready
    	oldUnreadyPod := newPod("node-1-old-unready-", "node-1", simpleDaemonSetLabel, ds)
    	delete(oldUnreadyPod.Labels, apps.ControllerRevisionHashLabelKey)
    	oldUnreadyPod.CreationTimestamp.Time = time.Unix(50, 0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
Back to top