Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for recreate (0.27 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. staging/src/k8s.io/api/apps/v1beta2/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: Mon Nov 27 20:06:24 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/extensions/v1beta1/types.go

    	DefaultDeploymentUniqueLabelKey string = "pod-template-hash"
    )
    
    // DeploymentStrategy describes how to replace existing pods with new ones.
    type DeploymentStrategy struct {
    	// Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
    	// +optional
    	Type DeploymentStrategyType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=DeploymentStrategyType"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:29 UTC 2023
    - 61.3K bytes
    - Viewed (0)
  9. 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)
  10. CHANGELOG/CHANGELOG-1.3.md

    * AWS/GCE: Spread PetSet volume creation across zones, create GCE volumes in non-master zones ([#27553](https://github.com/kubernetes/kubernetes/pull/27553), [@justinsb](https://github.com/justinsb))
    * GCE provider: Create TargetPool with 200 instances, then update with rest ([#27829](https://github.com/kubernetes/kubernetes/pull/27829), [@zmerlynn](https://github.com/zmerlynn))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 84K bytes
    - Viewed (0)
Back to top