Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 84 for progressDeadlineSeconds (0.3 sec)

  1. staging/src/k8s.io/api/apps/v1beta1/generated.pb.go

    }
    
    func (m *DeploymentSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
    	i := len(dAtA)
    	_ = i
    	var l int
    	_ = l
    	if m.ProgressDeadlineSeconds != nil {
    		i = encodeVarintGenerated(dAtA, i, uint64(*m.ProgressDeadlineSeconds))
    		i--
    		dAtA[i] = 0x48
    	}
    	if m.RollbackTo != nil {
    		{
    			size, err := m.RollbackTo.MarshalToSizedBuffer(dAtA[:i])
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  2. pkg/apis/apps/types.go

    	// not be estimated during the time a deployment is paused. This is set to
    	// the max value of int32 (i.e. 2147483647) by default, which means "no deadline".
    	// +optional
    	ProgressDeadlineSeconds *int32
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    // DeploymentRollback stores the information required to rollback a deployment.
    // DEPRECATED.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:09:29 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/apps/v1/generated.pb.go

    }
    
    func (m *DeploymentSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
    	i := len(dAtA)
    	_ = i
    	var l int
    	_ = l
    	if m.ProgressDeadlineSeconds != nil {
    		i = encodeVarintGenerated(dAtA, i, uint64(*m.ProgressDeadlineSeconds))
    		i--
    		dAtA[i] = 0x48
    	}
    	i--
    	if m.Paused {
    		dAtA[i] = 1
    	} else {
    		dAtA[i] = 0
    	}
    	i--
    	dAtA[i] = 0x38
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 217.1K bytes
    - Viewed (0)
  4. pkg/controller/deployment/deployment_controller.go

    	}
    
    	// Update deployment conditions with an Unknown condition when pausing/resuming
    	// a deployment. In this way, we can be sure that we won't timeout when a user
    	// resumes a Deployment with a set progressDeadlineSeconds.
    	if err = dc.checkPausedConditions(ctx, d); err != nil {
    		return err
    	}
    
    	if d.Spec.Paused {
    		return dc.sync(ctx, d, rsList)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. pkg/controller/deployment/sync.go

    // These conditions are needed so that we won't accidentally report lack of progress for resumed deployments
    // that were paused for longer than progressDeadlineSeconds.
    func (dc *DeploymentController) checkPausedConditions(ctx context.Context, d *apps.Deployment) error {
    	if !deploymentutil.HasProgressDeadline(d) {
    		return nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 23:39:52 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apps/v1beta2/generated.pb.go

    }
    
    func (m *DeploymentSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
    	i := len(dAtA)
    	_ = i
    	var l int
    	_ = l
    	if m.ProgressDeadlineSeconds != nil {
    		i = encodeVarintGenerated(dAtA, i, uint64(*m.ProgressDeadlineSeconds))
    		i--
    		dAtA[i] = 0x48
    	}
    	i--
    	if m.Paused {
    		dAtA[i] = 1
    	} else {
    		dAtA[i] = 0
    	}
    	i--
    	dAtA[i] = 0x38
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/extensions/v1beta1/generated.pb.go

    }
    
    func (m *DeploymentSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
    	i := len(dAtA)
    	_ = i
    	var l int
    	_ = l
    	if m.ProgressDeadlineSeconds != nil {
    		i = encodeVarintGenerated(dAtA, i, uint64(*m.ProgressDeadlineSeconds))
    		i--
    		dAtA[i] = 0x48
    	}
    	if m.RollbackTo != nil {
    		{
    			size, err := m.RollbackTo.MarshalToSizedBuffer(dAtA[:i])
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 293.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/apps/v1/types_swagger_doc_generated.go

    	"paused":                  "Indicates that the deployment is paused.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:14:59 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/apps/v1beta2/types_swagger_doc_generated.go

    	"paused":                  "Indicates that the deployment is paused.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 05:34:30 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  10. pkg/apis/apps/validation/validation_test.go

    	errorCases["must be greater than or equal to 0"] = invalidRollbackRevisionDeployment
    
    	// ProgressDeadlineSeconds should be greater than MinReadySeconds
    	invalidProgressDeadlineDeployment := validDeployment()
    	seconds := int32(600)
    	invalidProgressDeadlineDeployment.Spec.ProgressDeadlineSeconds = &seconds
    	invalidProgressDeadlineDeployment.Spec.MinReadySeconds = seconds
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
Back to top