Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Gated (0.17 sec)

  1. pkg/scheduler/internal/queue/scheduling_queue.go

    	p.lock.Lock()
    	defer p.lock.Unlock()
    
    	pInfo := p.newQueuedPodInfo(pod)
    	gated := pInfo.Gated
    	if added, err := p.addToActiveQ(logger, pInfo); !added {
    		return err
    	}
    	if p.unschedulablePods.get(pod) != nil {
    		logger.Error(nil, "Error: pod is already in the unschedulable queue", "pod", klog.KObj(pod))
    		p.unschedulablePods.delete(pod, gated)
    	}
    	// Delete pod from backoffQ if it is backing off
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  2. pkg/scheduler/metrics/metrics.go

    			StabilityLevel: metrics.STABLE,
    		}, []string{"queue"})
    	Goroutines = metrics.NewGaugeVec(
    		&metrics.GaugeOpts{
    			Subsystem:      SchedulerSubsystem,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 08:22:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	pInfos := makeQueuedPodInfos(queueableNum, "x", queueable, timestamp)
    	// The last 10 Pods are not queueable.
    	gated := makeQueuedPodInfos(total-queueableNum, "y", failme, timestamp)
    	// Manually mark them as gated=true.
    	for _, pInfo := range gated {
    		setQueuedPodInfoGated(pInfo)
    	}
    	pInfos = append(pInfos, gated...)
    	totalWithDelay := 20
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/versions/features.go

    package versions
    
    // This file contains predicates for working with file versions to
    // decide when a tool should consider a language feature enabled.
    
    // GoVersions that features in x/tools can be gated to.
    const (
    	Go1_18 = "go1.18"
    	Go1_19 = "go1.19"
    	Go1_20 = "go1.20"
    	Go1_21 = "go1.21"
    	Go1_22 = "go1.22"
    )
    
    // Future is an invalid unknown Go version sometime in the future.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/features/features.go

    	WaitForAllControlPlaneComponents: {FeatureSpec: featuregate.FeatureSpec{Default: false, PreRelease: featuregate.Alpha}},
    }
    
    // Feature represents a feature being gated
    type Feature struct {
    	featuregate.FeatureSpec
    	MinimumVersion     *version.Version
    	HiddenInHelpText   bool
    	DeprecationMessage string
    }
    
    // FeatureList represents a list of feature gates
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 13:55:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/types.go

    	UnschedulablePlugins sets.Set[string]
    	// PendingPlugins records the plugin names that the Pod failed with Pending status.
    	PendingPlugins sets.Set[string]
    	// Whether the Pod is scheduling gated (by PreEnqueuePlugins) or not.
    	Gated bool
    }
    
    // DeepCopy returns a deep copy of the QueuedPodInfo object.
    func (pqi *QueuedPodInfo) DeepCopy() *QueuedPodInfo {
    	return &QueuedPodInfo{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  7. src/io/pipe_test.go

    			if n, err := r.Read(buf[i : i+readSize]); n != readSize || err != nil {
    				t.Errorf("Read() = (%d, %v); want (%d, nil)", n, err, readSize)
    			}
    		}
    
    		// Since each Write is fully gated, if multiple Read calls were needed,
    		// the contents of Write should still appear together in the output.
    		got := string(buf)
    		want := strings.Repeat(input, count)
    		if got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. pkg/kubelet/images/image_gc_manager.go

    	LowThresholdPercent int
    
    	// Minimum age at which an image can be garbage collected.
    	MinAge time.Duration
    
    	// Maximum age after which an image can be garbage collected, regardless of disk usage.
    	// Currently gated by MaximumImageGCAge feature gate and Kubelet configuration.
    	// If 0, the feature is disabled.
    	MaxAge time.Duration
    }
    
    type realImageGCManager struct {
    	// Container runtime
    	runtime container.Runtime
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. cmd/kube-controller-manager/app/controllermanager.go

    	register(newTTLAfterFinishedControllerDescriptor())
    	register(newRootCACertificatePublisherControllerDescriptor())
    	register(newEphemeralVolumeControllerDescriptor())
    
    	// feature gated
    	register(newStorageVersionGarbageCollectorControllerDescriptor())
    	register(newResourceClaimControllerDescriptor())
    	register(newLegacyServiceAccountTokenCleanerControllerDescriptor())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  10. pkg/apis/core/validation/validation_test.go

    			test: "removing node selector is not allowed for gated pods",
    		}, {
    			old: core.Pod{
    				Spec: core.PodSpec{
    					NodeSelector: map[string]string{
    						"foo": "bar",
    					},
    				},
    			},
    			new:  core.Pod{},
    			err:  "Forbidden: pod updates may not change fields other than `spec.containers[*].image",
    			test: "removing node selector is not allowed for non-gated pods",
    		}, {
    			old: core.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
Back to top