Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for progressDeadlineSeconds (0.31 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/deploymentspec.go

    	Paused                  *bool                                     `json:"paused,omitempty"`
    	ProgressDeadlineSeconds *int32                                    `json:"progressDeadlineSeconds,omitempty"`
    }
    
    // DeploymentSpecApplyConfiguration constructs an declarative configuration of the DeploymentSpec type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/deploymentspec.go

    	Paused                  *bool                                     `json:"paused,omitempty"`
    	RollbackTo              *RollbackConfigApplyConfiguration         `json:"rollbackTo,omitempty"`
    	ProgressDeadlineSeconds *int32                                    `json:"progressDeadlineSeconds,omitempty"`
    }
    
    // DeploymentSpecApplyConfiguration constructs an declarative configuration of the DeploymentSpec type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  3. pkg/apis/apps/v1beta2/defaults.go

    		}
    	}
    	if obj.Spec.RevisionHistoryLimit == nil {
    		obj.Spec.RevisionHistoryLimit = new(int32)
    		*obj.Spec.RevisionHistoryLimit = 10
    	}
    	if obj.Spec.ProgressDeadlineSeconds == nil {
    		obj.Spec.ProgressDeadlineSeconds = new(int32)
    		*obj.Spec.ProgressDeadlineSeconds = 600
    	}
    }
    
    func SetDefaults_ReplicaSet(obj *appsv1beta2.ReplicaSet) {
    	if obj.Spec.Replicas == nil {
    		obj.Spec.Replicas = new(int32)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/client-go/applyconfigurations/apps/v1/deploymentspec.go

    	Paused                  *bool                                     `json:"paused,omitempty"`
    	ProgressDeadlineSeconds *int32                                    `json:"progressDeadlineSeconds,omitempty"`
    }
    
    // DeploymentSpecApplyConfiguration constructs an declarative configuration of the DeploymentSpec type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  5. pkg/apis/apps/v1beta1/defaults.go

    		}
    	}
    	if obj.Spec.RevisionHistoryLimit == nil {
    		obj.Spec.RevisionHistoryLimit = new(int32)
    		*obj.Spec.RevisionHistoryLimit = 2
    	}
    	if obj.Spec.ProgressDeadlineSeconds == nil {
    		obj.Spec.ProgressDeadlineSeconds = new(int32)
    		*obj.Spec.ProgressDeadlineSeconds = 600
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. pkg/apis/apps/v1/defaults.go

    		}
    	}
    	if obj.Spec.RevisionHistoryLimit == nil {
    		obj.Spec.RevisionHistoryLimit = new(int32)
    		*obj.Spec.RevisionHistoryLimit = 10
    	}
    	if obj.Spec.ProgressDeadlineSeconds == nil {
    		obj.Spec.ProgressDeadlineSeconds = new(int32)
    		*obj.Spec.ProgressDeadlineSeconds = 600
    	}
    }
    
    func SetDefaults_DaemonSet(obj *appsv1.DaemonSet) {
    	updateStrategy := &obj.Spec.UpdateStrategy
    	if updateStrategy.Type == "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  7. pkg/apis/apps/v1beta1/defaults_test.go

    							MaxSurge:       &defaultIntOrString,
    							MaxUnavailable: &defaultIntOrString,
    						},
    					},
    					RevisionHistoryLimit:    ptr.To[int32](2),
    					ProgressDeadlineSeconds: ptr.To[int32](600),
    					Template:                defaultTemplate,
    				},
    			},
    		},
    		{
    			original: &appsv1beta1.Deployment{
    				Spec: appsv1beta1.DeploymentSpec{
    					Replicas: ptr.To[int32](5),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  8. pkg/controller/deployment/progress.go

    	//
    	// [1] ProgressingCondition.LastUpdatedTime + progressDeadlineSeconds - time.Now()
    	//
    	// For example, if a Deployment updated its Progressing condition 3 minutes ago and has a
    	// deadline of 10 minutes, it would need to be resynced for a progress check after 7 minutes.
    	//
    	// lastUpdated: 			00:00:00
    	// now: 					00:03:00
    	// progressDeadlineSeconds: 600 (10 minutes)
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 11:00:44 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. pkg/apis/extensions/v1beta1/defaults.go

    			strategy.RollingUpdate.MaxSurge = &maxSurge
    		}
    	}
    	// Set extensionsv1beta1.DeploymentSpec.ProgressDeadlineSeconds to MaxInt,
    	// which has the same meaning as unset.
    	if obj.Spec.ProgressDeadlineSeconds == nil {
    		obj.Spec.ProgressDeadlineSeconds = new(int32)
    		*obj.Spec.ProgressDeadlineSeconds = math.MaxInt32
    	}
    	// Set extensionsv1beta1.DeploymentSpec.RevisionHistoryLimit to MaxInt32,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  10. pkg/controller/deployment/progress_test.go

    		nowFn    func() time.Time
    		expected time.Duration
    	}{
    		{
    			name:     "nil progressDeadlineSeconds specified",
    			d:        currentDeployment(nil, 4, 3, 3, 2, nil),
    			status:   newDeploymentStatus(3, 3, 2),
    			expected: time.Duration(-1),
    		},
    		{
    			name:     "infinite progressDeadlineSeconds specified",
    			d:        currentDeployment(&infinite, 4, 3, 3, 2, nil),
    			status:   newDeploymentStatus(3, 3, 2),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top