Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 568 for podIps (0.11 sec)

  1. pkg/controller/statefulset/stateful_set_test.go

    		om.setsIndexer.Add(set)
    
    		pods := []*v1.Pod{}
    		pods = append(pods, newStatefulSetPod(set, 0))
    		// pod1 is orphaned
    		pods = append(pods, newStatefulSetPod(set, 1))
    		pods[1].OwnerReferences = nil
    		// pod2 is owned but has wrong name.
    		pods = append(pods, newStatefulSetPod(set, 2))
    		pods[2].Name = "x" + pods[2].Name
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  2. pkg/kubelet/config/config_test.go

    		}
    
    		if len(expected[i].Pods) != len(update.Pods) {
    			t.Fatalf("Expected %#v, Got %#v", expected[i], update)
    		}
    		// Compare pods one by one. This is necessary because we don't want to
    		// compare local annotations.
    		for j := range expected[i].Pods {
    			if podsDifferSemantically(expected[i].Pods[j], update.Pods[j]) || !reflect.DeepEqual(expected[i].Pods[j].Status, update.Pods[j].Status) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. pkg/apis/apps/types.go

    	// can have their pods stopped for an update at any given time. The update
    	// starts by stopping at most 30% of those DaemonSet pods and then brings
    	// up new DaemonSet pods in their place. Once the new pods are available,
    	// it then proceeds onto other DaemonSet pods, thus ensuring that at least
    	// 70% of original number of DaemonSet pods are available at all times during
    	// the update.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:09:29 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  4. pkg/controller/daemon/update.go

    	}
    
    	// When surging, we create new pods whenever an old pod is unavailable, and we can create up
    	// to maxSurge extra pods
    	//
    	// Assumptions:
    	// * Expect manage loop to allow no more than two pods per node, one old, one new
    	// * Expect manage loop will create new pods if there are no pods on node
    	// * Expect manage loop will handle failed pods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 16:53:53 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  5. pkg/controller/util/node/controller_utils.go

    	if len(pods) > 0 {
    		RecordNodeEvent(ctx, recorder, nodeName, nodeUID, v1.EventTypeNormal, "DeletingAllPods", fmt.Sprintf("Deleting all Pods from Node %v.", nodeName))
    	}
    
    	for i := range pods {
    		// Defensive check, also needed for tests.
    		if pods[i].Spec.NodeName != nodeName {
    			continue
    		}
    
    		// Pod will be modified, so making copy is required.
    		pod := pods[i].DeepCopy()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apps/v1beta1/types.go

    	// can be scaled down further, followed by scaling up the new ReplicaSet, ensuring
    	// that the total number of pods available at all times during the update is at
    	// least 70% of desired pods.
    	// +optional
    	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty" protobuf:"bytes,1,opt,name=maxUnavailable"`
    
    	// The maximum number of pods that can be scheduled above the desired number of
    	// pods.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/podtopologyspread/plugin_test.go

    				Obj(),
    			oldPod:       st.MakePod().Node("fake-node").Label("bar", "").Obj(),
    			expectedHint: framework.QueueSkip,
    		},
    		{
    			name: "update pod's non-related label",
    			pod: st.MakePod().Name("p").Label("foo", "").
    				SpreadConstraint(1, "zone", v1.DoNotSchedule, fooSelector, nil, nil, nil, nil).
    				Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 17 06:30:53 UTC 2023
    - 13K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/autoscaling/v1/types_swagger_doc_generated.go

    	"targetAverageValue":       "targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the \"pods\" metric source type.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/policy/v1/types.go

    	// A null selector will match no pods, while an empty ({}) selector will select
    	// all pods within the namespace.
    	// +patchStrategy=replace
    	// +optional
    	Selector *metav1.LabelSelector `json:"selector,omitempty" patchStrategy:"replace" protobuf:"bytes,2,opt,name=selector"`
    
    	// An eviction is allowed if at most "maxUnavailable" pods selected by
    	// "selector" are unavailable after the eviction, i.e. even in absence of
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/autoscaling/v2beta1/types_swagger_doc_generated.go

    	"currentReplicas":    "currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.",
    	"desiredReplicas":    "desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 20.4K bytes
    - Viewed (0)
Back to top