Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for recreate (0.16 sec)

  1. pkg/apis/apps/validation/validation_test.go

    	invalidStrategyDeployment := validDeployment()
    	invalidStrategyDeployment.Spec.Strategy.Type = apps.DeploymentStrategyType("randomType")
    	errorCases[`supported values: "Recreate", "RollingUpdate"`] = invalidStrategyDeployment
    
    	// rollingUpdate should be nil for recreate.
    	invalidRecreateDeployment := validDeployment()
    	invalidRecreateDeployment.Spec.Strategy = apps.DeploymentStrategy{
    		Type:          apps.RecreateDeploymentStrategyType,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set_control_test.go

    		t.Error(err)
    	}
    	recreatedPod := findPodByOrdinal(pods, terminalPodOrdinal)
    	// new recreated pod should have empty phase
    	if recreatedPod == nil || isCreated(recreatedPod) {
    		t.Error("StatefulSet did not recreate failed Pod")
    	}
    	expectedNumberOfCreateRequests := 2
    	if monotonic := !allowsBurst(set); !monotonic {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods_test.go

    				// send a create of a static pod
    				pod := staticPod()
    
    				w.UpdatePod(UpdatePodOptions{
    					UpdateType: kubetypes.SyncPodCreate,
    					StartTime:  time.Unix(1, 0).UTC(),
    					Pod:        pod,
    				})
    				drainAllWorkers(w)
    
    				// terminate the pod (which won't complete) and then deliver a recreate by that same UID
    				w.UpdatePod(UpdatePodOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        Value new_reshape_shape_value = rewriter.create<arith::ConstantOp>(
            inner_reshape_op->getLoc(),
            GetI32ElementsAttr(new_reshape_shape_i32, &rewriter));
    
        auto new_inner_reshape_op = rewriter.create<TFL::ReshapeOp>(
            inner_reshape_op->getLoc(),
            inner_reshape_input, new_reshape_shape_value);
    
        // Create a new reshape_op to replace the old inner reshape_op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  5. pkg/controller/job/job_controller_test.go

    			wantIndexesToAdd: []int{1, 3},
    		},
    		"subset of indexes can be recreated now": {
    			indexesToAdd: []int{1, 3},
    			podsWithDelayedDeletionPerIndex: map[int]*v1.Pod{
    				1: buildPod().indexFailureCount("0").index("1").customDeletionTimestamp(now).Pod,
    			},
    			wantIndexesToAdd: []int{3},
    		},
    		"subset of indexes can be recreated now as the pods failed long time ago": {
    			indexesToAdd: []int{1, 3},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      Type element_type = getElementTypeOrSelf(dst_type);
      if (mlir::isa<IndexType>(element_type))
        return b.create<tensor::CastOp>(loc, dst_type, input);
      if (isa<TensorFlowDialect, BuiltinDialect>(element_type.getDialect()))
        return b.create<TF::CastOp>(loc, dst_type, input,
                                    /*truncate=*/b.getBoolAttr(false));
      return nullptr;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  7. src/cmd/trace/testdata/go122.test

    HeapAlloc dt=24 heapalloc_value=26336904
    GoCreate dt=72 new_g=34 new_stack=47 stack=48
    GoCreate dt=183 new_g=35 new_stack=47 stack=48
    GoCreate dt=15 new_g=36 new_stack=47 stack=48
    GoCreate dt=12 new_g=37 new_stack=47 stack=48
    GoCreate dt=14 new_g=38 new_stack=47 stack=48
    HeapAlloc dt=25 heapalloc_value=26344200
    GoCreate dt=9 new_g=39 new_stack=47 stack=48
    GoCreate dt=13 new_g=40 new_stack=47 stack=48
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 166K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_test.go

    		pod                 *v1.Pod
    		newRequests         v1.ResourceList
    		expectedAllocations v1.ResourceList
    		expectedResize      v1.PodResizeStatus
    	}{
    		{
    			name:                "Request CPU and memory decrease - expect InProgress",
    			pod:                 testPod2,
    			newRequests:         v1.ResourceList{v1.ResourceCPU: cpu500m, v1.ResourceMemory: mem500M},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  9. pkg/registry/batch/job/strategy_test.go

    					FailedIndexes: ptr.To("0"),
    				},
    			},
    			wantErrs: field.ErrorList{
    				{Type: field.ErrorTypeInvalid, Field: "status.failedIndexes"},
    			},
    		},
    		"invalid attempt to decrease the failed counter": {
    			enableJobManagedBy: true,
    			job: &batch.Job{
    				ObjectMeta: validObjectMeta,
    				Spec: batch.JobSpec{
    					Completions: ptr.To[int32](5),
    				},
    				Status: batch.JobStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 101.5K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_pods.go

    			} else if !subPathExists {
    				// Create the sub path now because if it's auto-created later when referenced, it may have an
    				// incorrect ownership and mode. For example, the sub path directory must have at least g+rwx
    				// when the pod specifies an fsGroup, and if the directory is not created here, Docker will
    				// later auto-create it with the incorrect mode 0750
    				// Make extra care not to escape the volume!
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top