Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 62 for podB (0.1 sec)

  1. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    }
    
    // Populates desiredStateOfWorld cache with one volume/pod.
    // Calls Run()
    // Verifies there are attach/get map paths/setupDevice calls and
    // no detach/teardownDevice calls.
    func Test_Run_Positive_VolumeAttachAndMap(t *testing.T) {
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "pod1",
    			UID:       "pod1uid",
    			Namespace: "ns",
    		},
    		Spec: v1.PodSpec{},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  3. pkg/apis/core/v1/defaults_test.go

    	s.InitContainers = []v1.Container{{}}
    	pod = &v1.Pod{
    		Spec: s,
    	}
    	output = roundTrip(t, runtime.Object(pod))
    	pod2 = output.(*v1.Pod)
    	defaultRequest = pod2.Spec.Containers[0].Resources.Requests
    	if requestValue := defaultRequest[v1.ResourceCPU]; requestValue.String() != "0" {
    		t.Errorf("Expected 0 request value, got: %s", requestValue.String())
    	}
    	defaultRequest = pod2.Spec.InitContainers[0].Resources.Requests
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    					Obj(),
    			},
    			initPods: []*v1.Pod{
    				st.MakePod().Name("pod-a1").UID("pod-a1").Node("node-a").Label("foo", "").Priority(midPriority).Obj(),
    				st.MakePod().Name("pod-a2").UID("pod-a2").Node("node-a").Label("foo", "").Priority(lowPriority).Obj(),
    				st.MakePod().Name("pod-b1").UID("pod-b1").Node("node-b").Label("foo", "").Priority(lowPriority).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/extensions/v1beta1/types.go

    	// that should be running the daemon pod (i.e. status.desiredNumberScheduled)
    	// can have their a new pod created before the old pod is marked as deleted.
    	// The update starts by launching new pods on 30% of nodes. Once an updated
    	// pod is available (Ready for at least minReadySeconds) the old DaemonSet pod
    	// on that node is marked deleted. If the old pod becomes unavailable for any
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:29 UTC 2023
    - 61.3K bytes
    - Viewed (0)
  6. pkg/registry/core/pod/strategy_test.go

    			pod: &api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Namespace: "ns", Name: "pod1"},
    				Spec:       api.PodSpec{},
    				Status:     api.PodStatus{},
    			},
    			expectedIP: "",
    		},
    		{
    			name: "empty list",
    			pod: &api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Namespace: "ns", Name: "pod1"},
    				Spec:       api.PodSpec{},
    				Status: api.PodStatus{
    					PodIPs: []api.PodIP{},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  7. istioctl/pkg/describe/describe.go

    			matchingPods := make([]corev1.Pod, 0)
    			var selectedPodCount int
    			if len(labels) > 0 {
    				pods, err := client.Kube().CoreV1().Pods(ns).List(context.TODO(), metav1.ListOptions{
    					LabelSelector: strings.Join(labels, ","),
    				})
    				if err != nil {
    					return err
    				}
    				selectedPodCount = len(pods.Items)
    				for _, pod := range pods.Items {
    					if pod.Status.Phase != corev1.PodRunning {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  8. operator/pkg/apis/istio/v1alpha1/values_types.proto

      // The mode defines the action the controller will take when a pod is detected as broken.
      // If deletePods is true, the controller will delete the broken pod. The pod will then be rescheduled, hopefully onto a node that is fully ready.
      // Note this gives the DaemonSet a relatively high privilege, as it can delete any Pod.
      bool deletePods = 7;
    
      // The label key to apply to a broken pod when the controller is in labelPods mode.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  9. pkg/controller/podautoscaler/horizontal.go

    		a.hpaSelectors.PutSelector(hpaKey, parsedSelector)
    	}
    	a.hpaSelectorsMux.Unlock()
    
    	pods, err := a.podLister.Pods(hpa.Namespace).List(parsedSelector)
    	if err != nil {
    		return nil, err
    	}
    
    	selectingHpas := a.hpasControllingPodsUnderSelector(pods)
    	if len(selectingHpas) > 1 {
    		errMsg := fmt.Sprintf("pods by selector %v are controlled by multiple HPAs: %v", selector, selectingHpas)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    				return
    			default:
    				out := &example.Pod{}
    				pod := &example.Pod{
    					ObjectMeta: metav1.ObjectMeta{
    						Name:      fmt.Sprintf("foo-%d", i),
    						Namespace: "test-ns",
    					},
    				}
    				podKey := computePodKey(pod)
    				if err := store.Create(ctx, podKey, pod, out, 0); err != nil {
    					errc <- fmt.Errorf("failed to create pod %v: %v", pod, err)
    					return
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
Back to top