Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createdPod (0.22 sec)

  1. pkg/registry/core/pod/strategy_test.go

    	if len(errs) != 0 {
    		t.Errorf("Unexpected error: %v", errs.ToAggregate())
    	}
    
    	createdPod := pod.DeepCopy()
    	Strategy.PrepareForCreate(ctx, createdPod)
    
    	if len(createdPod.Spec.TopologySpreadConstraints) != 1 ||
    		*createdPod.Spec.TopologySpreadConstraints[0].NodeAffinityPolicy != ignore ||
    		*createdPod.Spec.TopologySpreadConstraints[0].NodeTaintsPolicy != honor {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    			}
    
    			var createdPods []*example.Pod
    			ns := fmt.Sprintf("ns-%v", idx)
    			for _, obj := range scenario.initialPods {
    				obj.Namespace = ns
    				out := &example.Pod{}
    				err := store.Create(ctx, computePodKey(obj), obj, out, 0)
    				require.NoError(t, err, "failed to add a pod: %v", obj)
    				createdPods = append(createdPods, out)
    			}
    
    			if scenario.useCurrentRV {
    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