Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for Pods (0.07 sec)

  1. pkg/controller/job/job_controller.go

    	// When adopting Pods, this operation adds an ownerRef and finalizers.
    	pods, err = cm.ClaimPods(ctx, pods)
    	if err != nil {
    		return pods, err
    	}
    	// Set finalizer on adopted pods for the remaining calculations.
    	for i, p := range pods {
    		adopted := true
    		for _, r := range p.OwnerReferences {
    			if r.UID == j.UID {
    				adopted = false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/queue/scheduling_queue.go

    }
    
    // NominatedPodsForNode returns a copy of pods that are nominated to run on the given node,
    // but they are waiting for other pods to be removed from the node.
    func (npm *nominator) NominatedPodsForNode(nodeName string) []*framework.PodInfo {
    	npm.lock.RLock()
    	defer npm.lock.RUnlock()
    	// Make a copy of the nominated Pods so the caller can mutate safely.
    	pods := make([]*framework.PodInfo, len(npm.nominatedPods[nodeName]))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    	podCount := 1000
    	var pods []*example.Pod
    	for i := 0; i < podCount; i++ {
    		obj := &example.Pod{ObjectMeta: metav1.ObjectMeta{Name: fmt.Sprintf("pod-%d", i)}}
    		key := computePodKey(obj)
    		storedObj := &example.Pod{}
    		err := store.Create(ctx, key, obj, storedObj, 0)
    		if err != nil {
    			t.Fatalf("Set failed: %v", err)
    		}
    		pods = append(pods, storedObj)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  4. operator/pkg/apis/istio/v1alpha1/values_types.proto

      string provider = 22;
    
      // The number of pods that can be unavailable during a rolling update of the CNI DaemonSet (see
      // `updateStrategy.rollingUpdate.maxUnavailable` here:
      // https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/#DaemonSetSpec).
      // May be specified as a number of pods or as a percent of the total number
      // of pods at the start of the update.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  5. pkg/kubelet/pod_workers_test.go

    		t.Fatalf("unexpected started static pods: %s", cmp.Diff(e, a))
    	}
    	if e, a := map[string][]types.UID{}, podWorkers.waitingToStartStaticPodsByFullname; !reflect.DeepEqual(e, a) {
    		t.Fatalf("unexpected waiting static pods: %s", cmp.Diff(e, a))
    	}
    
    	// initiate a sync with all pods remaining
    	state := podWorkers.SyncKnownPods([]*v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    	"k8s.io/utils/pointer"
    )
    
    func newTestCacherWithoutSyncing(s storage.Interface) (*Cacher, storage.Versioner, error) {
    	prefix := "pods"
    	config := Config{
    		Storage:        s,
    		Versioner:      storage.APIObjectVersioner{},
    		GroupResource:  schema.GroupResource{Resource: "pods"},
    		ResourcePrefix: prefix,
    		KeyFunc:        func(obj runtime.Object) (string, error) { return storage.NamespaceKeyFunc(prefix, obj) },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  7. pkg/controller/endpointslice/endpointslice_controller_test.go

    	deletionTimestamp := metav1.Now()
    
    	testcases := []struct {
    		name                  string
    		service               *v1.Service
    		pods                  []*v1.Pod
    		expectedEndpointPorts []discovery.EndpointPort
    		expectedEndpoints     []discovery.Endpoint
    	}{
    		{
    			name: "pods with multiple IPs and Service with ipFamilies=ipv4",
    			service: &v1.Service{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:              "foobar",
    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. pkg/controller/statefulset/stateful_set_utils_test.go

    	}
    }
    
    func TestAscendingOrdinal(t *testing.T) {
    	set := newStatefulSet(10)
    	pods := make([]*v1.Pod, 10)
    	perm := rand.Perm(10)
    	for i, v := range perm {
    		pods[i] = newStatefulSetPod(set, v)
    	}
    	sort.Sort(ascendingOrdinal(pods))
    	if !sort.IsSorted(ascendingOrdinal(pods)) {
    		t.Error("ascendingOrdinal fails to sort Pods")
    	}
    }
    
    func TestOverlappingStatefulSets(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.31.md

    - Added flag to `kubectl logs` called `--all-pods` to get all pods from a object that uses a pod selector. ([#124732](https://github.com/kubernetes/kubernetes/pull/124732), [@cmwylie19](https://github.com/cmwylie19)) [SIG CLI and Testing]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    )
    
    func makeResources(milliCPU, memory, pods, extendedA, storage, hugePageA int64) v1.ResourceList {
    	return v1.ResourceList{
    		v1.ResourceCPU:              *resource.NewMilliQuantity(milliCPU, resource.DecimalSI),
    		v1.ResourceMemory:           *resource.NewQuantity(memory, resource.BinarySI),
    		v1.ResourcePods:             *resource.NewQuantity(pods, resource.DecimalSI),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
Back to top