Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isCached (0.11 sec)

  1. pkg/kubelet/status/status_manager.go

    	// ensure that all containers have a terminated state - because we do not know whether the container
    	// was successful, always report an error
    	oldStatus := &pod.Status
    	cachedStatus, isCached := m.podStatuses[pod.UID]
    	if isCached {
    		oldStatus = &cachedStatus.status
    	}
    	status := *oldStatus.DeepCopy()
    
    	// once a pod has initialized, any missing status is treated as a failure
    	if hasPodInitialized(pod) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  2. security/pkg/pki/ca/selfsignedcarootcertrotator_test.go

    	isMatched := bytes.Equal(itemA.caSecret.Data[CACertFile], itemB.caSecret.Data[CACertFile])
    	if isMatched != shouldMatch {
    		t.Errorf("Verification of root cert in CA secret failed. Want %v got %v", shouldMatch, isMatched)
    	}
    	isMatched = bytes.Equal(itemA.rootCertInKeyCertBundle, itemB.rootCertInKeyCertBundle)
    	if isMatched != shouldMatch {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 23:33:41 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/nodeaffinity/node_affinity.go

    		return framework.QueueSkip, nil
    	}
    
    	requiredNodeAffinity := nodeaffinity.GetRequiredNodeAffinity(pod)
    	isMatched, err := requiredNodeAffinity.Match(modifiedNode)
    	if err != nil {
    		return framework.Queue, err
    	}
    	if isMatched {
    		logger.V(4).Info("node was created or updated, and matches with the pod's NodeAffinity", "pod", klog.KObj(pod), "node", klog.KObj(modifiedNode))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 12:00:10 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  4. pkg/apis/core/validation/validation.go

    	if _, ok := volumes[name]; ok {
    		return true
    	}
    	return false
    }
    
    // isMatched checks whether the volume with the given name is used by a
    // container and if so, if it involves a PVC.
    func isMatchedDevice(name string, volumes map[string]core.VolumeSource) (isMatched bool, isPVC bool) {
    	if source, ok := volumes[name]; ok {
    		if source.PersistentVolumeClaim != nil ||
    			source.Ephemeral != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
Back to top