Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for recreate (0.15 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    }
    
    // sandboxTemplate is a sandbox template to create fake sandbox.
    type sandboxTemplate struct {
    	pod         *v1.Pod
    	attempt     uint32
    	createdAt   int64
    	state       runtimeapi.PodSandboxState
    	running     bool
    	terminating bool
    }
    
    // containerTemplate is a container template to create fake container.
    type containerTemplate struct {
    	pod            *v1.Pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set_utils_test.go

    		t.Error("updateStorage failed to recreate volumes")
    	}
    	pod = newStatefulSetPod(set, 1)
    	for i := range pod.Spec.Volumes {
    		pod.Spec.Volumes[i].PersistentVolumeClaim = nil
    	}
    	if storageMatches(set, pod) {
    		t.Error("Pod with invalid Volumes claim valid storage")
    	}
    	updateStorage(set, pod)
    	if !storageMatches(set, pod) {
    		t.Error("updateStorage failed to recreate volume claims")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    func TestXLStorageReadAll(t *testing.T) {
    	// create xlStorage test setup
    	xlStorage, _, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to create xlStorage test setup, %s", err)
    	}
    
    	// Create files for the test cases.
    	if err = xlStorage.MakeVol(context.Background(), "exists"); err != nil {
    		t.Fatalf("Unable to create a volume \"exists\", %s", err)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

                                             assert(false && "Should not happen");
                                           });
      // Recreate the while op.
      OpBuilder builder(while_op);
      // Now use the filtered original operands, which will be replaced by
      // AddLoadsStoresOutsideControlFlowOp().
      auto new_while = builder.create<TF::WhileOp>(
          while_op.getLoc(), body.getFunctionType().getResults(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

                filter_op->getLoc(), *rewriter.getContext(), filter_scale_values,
                filter_zero_point_values,
                /*quantization_dimension=*/3);
    
        // Create a new constant op for the filter in i8.
        auto quantized_filter_constant_op = rewriter.create<stablehlo::ConstantOp>(
            filter_op->getLoc(),
            /*output=*/
            filter_i8_value_attr.getType().clone(filter_quantized_element_type),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apps/v1/types.go

    const (
    	// OrderedReadyPodManagement will create pods in strictly increasing order on
    	// scale up and strictly decreasing order on scale down, progressing only when
    	// the previous pod is ready or terminated. At most one pod will be changed
    	// at any time.
    	OrderedReadyPodManagement PodManagementPolicyType = "OrderedReady"
    	// ParallelPodManagement will create and delete pods as soon as the stateful set
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  7. pkg/controller/job/job_controller.go

    		if podutil.IsPodReady(p) {
    			cnt++
    		}
    	}
    	return cnt
    }
    
    // This checks if we should apply PodReplacementPolicy.
    // PodReplacementPolicy controls when we recreate pods if they are marked as terminating
    // Failed means that we recreate only once the pod has terminated.
    func onlyReplaceFailedPods(job *batch.Job) bool {
    	// We check both PodReplacementPolicy for nil and failed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  8. pkg/proxy/winkernel/proxier.go

    ) (proxy.Provider, error) {
    
    	// Create an ipv4 instance of the single-stack proxier
    	ipv4Proxier, err := NewProxier(v1.IPv4Protocol, syncPeriod, minSyncPeriod,
    		hostname, nodeIPs[v1.IPv4Protocol], recorder, healthzServer,
    		healthzBindAddress, config)
    
    	if err != nil {
    		return nil, fmt.Errorf("unable to create ipv4 proxier: %v, hostname: %s, nodeIP:%v", err, hostname, nodeIPs[v1.IPv4Protocol])
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/deadness_analysis.cc

      }
    
      if (common_inner_operands.empty()) {
        return MakeInternedAndOr(std::move(simplified_ops), pred_kind);
      }
    
      // For all predicates that can be factored out, remove them and recreate the
      // subops.
      std::vector<Predicate*> factored_ops;
      for (Predicate* op : simplified_ops) {
        std::vector<Predicate*> new_sub_op_ops;
        absl::c_copy_if(op->GetOperands(), std::back_inserter(new_sub_op_ops),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    //  2. Kill pod sandbox if necessary.
    //  3. Kill any containers that should not be running.
    //  4. Create sandbox if necessary.
    //  5. Create ephemeral containers.
    //  6. Create init containers.
    //  7. Resize running containers (if InPlacePodVerticalScaling==true)
    //  8. Create normal containers.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
Back to top