- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for progressDeadlineSeconds (0.35 sec)
-
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) -
pkg/apis/apps/v1beta1/defaults.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 4.7K bytes - Viewed (0) -
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) -
pkg/apis/apps/v1beta1/defaults_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17.4K bytes - Viewed (0) -
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) -
pkg/apis/apps/v1beta2/defaults_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 23.4K bytes - Viewed (0) -
pkg/apis/apps/v1/defaults_test.go
}, ProgressDeadlineSeconds: ptr.To[int32](30), RevisionHistoryLimit: ptr.To[int32](2), }, }, expected: &appsv1.Deployment{ Spec: appsv1.DeploymentSpec{ Replicas: ptr.To[int32](5), Strategy: appsv1.DeploymentStrategy{ Type: appsv1.RecreateDeploymentStrategyType, }, ProgressDeadlineSeconds: ptr.To[int32](30),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.1K bytes - Viewed (0) -
pkg/controller/deployment/util/deployment_util.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 07:09:11 UTC 2023 - 39.3K bytes - Viewed (0) -
pkg/apis/apps/validation/validation.go
} if spec.ProgressDeadlineSeconds != nil { allErrs = append(allErrs, apivalidation.ValidateNonnegativeField(int64(*spec.ProgressDeadlineSeconds), fldPath.Child("progressDeadlineSeconds"))...) if *spec.ProgressDeadlineSeconds <= spec.MinReadySeconds { allErrs = append(allErrs, field.Invalid(fldPath.Child("progressDeadlineSeconds"), spec.ProgressDeadlineSeconds, "must be greater than minReadySeconds")) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 06 22:11:20 UTC 2024 - 41.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/openapi/enablement_test.go
Default: "", Type: []string{"string"}, Format: "",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 4.9K bytes - Viewed (0)