Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 276 for recreate (0.14 sec)

  1. src/os/readfrom_linux_test.go

    		f, err := CreateTemp("", "file-readfrom-itself-test")
    		if err != nil {
    			t.Fatalf("failed to create tmp file: %v", err)
    		}
    		t.Cleanup(func() {
    			f.Close()
    			Remove(f.Name())
    		})
    
    		data := []byte("hello world!")
    		if _, err := f.Write(data); err != nil {
    			t.Fatalf("failed to create and feed the file: %v", err)
    		}
    
    		if err := f.Sync(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. 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)
  3. common-protos/k8s.io/api/apps/v1beta1/generated.proto

      // field as a collision avoidance mechanism when it needs to create the name for the
      // newest ReplicaSet.
      // +optional
      optional int32 collisionCount = 8;
    }
    
    // DeploymentStrategy describes how to replace existing pods with new ones.
    message DeploymentStrategy {
      // Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
      // +optional
      optional string type = 1;
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. 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)
  5. cmd/kubeadm/app/cmd/init.go

    	return apiclient.NewDryRunClient(dryRunGetter, os.Stdout), nil
    }
    
    // Client returns a Kubernetes client to be used by kubeadm.
    // This function is implemented as a singleton, thus avoiding to recreate the client when it is used by different phases.
    // Important. This function must be called after the admin.conf kubeconfig file is created.
    func (d *initData) Client() (clientset.Interface, error) {
    	var err error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 17 03:37:05 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apps/v1beta1/generated.proto

      // field as a collision avoidance mechanism when it needs to create the name for the
      // newest ReplicaSet.
      // +optional
      optional int32 collisionCount = 8;
    }
    
    // DeploymentStrategy describes how to replace existing pods with new ones.
    message DeploymentStrategy {
      // Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
      // +optional
      optional string type = 1;
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/batch/v1/types_swagger_doc_generated.go

    	"podReplacementPolicy":    "podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods\n  when they are terminating (has a metadata.deletionTimestamp) or failed.\n- Failed means to wait until a previously created Pod is fully terminated (has phase\n  Failed or Succeeded) before creating...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  8. src/crypto/tls/handshake_server_tls13.go

    // interfaces implemented by standard library hashes to clone the state of in
    // to a new instance of h. It returns nil if the operation fails.
    func cloneHash(in hash.Hash, h crypto.Hash) hash.Hash {
    	// Recreate the interface to avoid importing encoding.
    	type binaryMarshaler interface {
    		MarshalBinary() (data []byte, err error)
    		UnmarshalBinary(data []byte) error
    	}
    	marshaler, ok := in.(binaryMarshaler)
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/fetch.go

    	}
    	data, err := lockedfile.Read(ziphash)
    	if err != nil {
    		base.Fatalf("verifying %v", module.VersionError(mod, err))
    	}
    	data = bytes.TrimSpace(data)
    	if !isValidSum(data) {
    		// Recreate ziphash file from zip file and use that to check the mod sum.
    		zip, err := CachePath(ctx, mod, "zip")
    		if err != nil {
    			base.Fatalf("verifying %v", module.VersionError(mod, err))
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/batch/v1/generated.proto

      // resetting the ActiveDeadlineSeconds timer too. Defaults to false.
      //
      // +optional
      optional bool suspend = 10;
    
      // podReplacementPolicy specifies when to create replacement Pods.
      // Possible values are:
      // - TerminatingOrFailed means that we recreate pods
      //   when they are terminating (has a metadata.deletionTimestamp) or failed.
      // - Failed means to wait until a previously created Pod is fully terminated (has phase
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
Back to top