- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for persistentVolumeClaimRetentionPolicy (0.35 sec)
-
pkg/registry/apps/statefulset/strategy_test.go
if len(errs) != 0 { t.Errorf("unexpected failure with PersistentVolumeClaimRetentionPolicy: %v", errs) } if ps.Spec.PersistentVolumeClaimRetentionPolicy.WhenDeleted != apps.RetainPersistentVolumeClaimRetentionPolicyType || ps.Spec.PersistentVolumeClaimRetentionPolicy.WhenScaled != apps.DeletePersistentVolumeClaimRetentionPolicyType {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 22.1K bytes - Viewed (0) -
pkg/apis/apps/v1beta2/defaults.go
if utilfeature.DefaultFeatureGate.Enabled(features.StatefulSetAutoDeletePVC) { if obj.Spec.PersistentVolumeClaimRetentionPolicy == nil { obj.Spec.PersistentVolumeClaimRetentionPolicy = &appsv1beta2.StatefulSetPersistentVolumeClaimRetentionPolicy{} } if len(obj.Spec.PersistentVolumeClaimRetentionPolicy.WhenDeleted) == 0 { obj.Spec.PersistentVolumeClaimRetentionPolicy.WhenDeleted = appsv1beta2.RetainPersistentVolumeClaimRetentionPolicyType }
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/v1/defaults.go
if utilfeature.DefaultFeatureGate.Enabled(features.StatefulSetAutoDeletePVC) { if obj.Spec.PersistentVolumeClaimRetentionPolicy == nil { obj.Spec.PersistentVolumeClaimRetentionPolicy = &appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy{} } if len(obj.Spec.PersistentVolumeClaimRetentionPolicy.WhenDeleted) == 0 { obj.Spec.PersistentVolumeClaimRetentionPolicy.WhenDeleted = appsv1.RetainPersistentVolumeClaimRetentionPolicyType }
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.go
if utilfeature.DefaultFeatureGate.Enabled(features.StatefulSetAutoDeletePVC) { if obj.Spec.PersistentVolumeClaimRetentionPolicy == nil { obj.Spec.PersistentVolumeClaimRetentionPolicy = &appsv1beta1.StatefulSetPersistentVolumeClaimRetentionPolicy{} } if len(obj.Spec.PersistentVolumeClaimRetentionPolicy.WhenDeleted) == 0 { obj.Spec.PersistentVolumeClaimRetentionPolicy.WhenDeleted = appsv1beta1.RetainPersistentVolumeClaimRetentionPolicyType }
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_test.go
Type: appsv1.RollingUpdateStatefulSetStrategyType, RollingUpdate: &appsv1.RollingUpdateStatefulSetStrategy{ Partition: &defaultPartition, }, }, PersistentVolumeClaimRetentionPolicy: &appsv1.StatefulSetPersistentVolumeClaimRetentionPolicy{ WhenDeleted: appsv1.RetainPersistentVolumeClaimRetentionPolicyType, WhenScaled: appsv1.RetainPersistentVolumeClaimRetentionPolicyType, },
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/statefulset/stateful_set_utils_test.go
} set := apps.StatefulSet{} set.Spec.PersistentVolumeClaimRetentionPolicy = &retainPolicy got := getPersistentVolumeClaimRetentionPolicy(&set) if got.WhenScaled != apps.RetainPersistentVolumeClaimRetentionPolicyType || got.WhenDeleted != apps.RetainPersistentVolumeClaimRetentionPolicyType { t.Errorf("Expected retain policy") } set.Spec.PersistentVolumeClaimRetentionPolicy = &scaledownPolicy
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 50.9K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_pod_control_test.go
for k := range claims { claim := claims[k] indexer.Add(&claim) } control := NewStatefulPodControl(fakeClient, nil, claimLister, &noopRecorder{}) set.Spec.PersistentVolumeClaimRetentionPolicy = &apps.StatefulSetPersistentVolumeClaimRetentionPolicy{ WhenDeleted: apps.RetainPersistentVolumeClaimRetentionPolicyType, WhenScaled: apps.RetainPersistentVolumeClaimRetentionPolicyType, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 35.5K bytes - Viewed (0) -
staging/src/k8s.io/api/apps/v1beta1/types.go
// PersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from // the StatefulSet VolumeClaimTemplates. This requires the // StatefulSetAutoDeletePVC feature gate to be enabled, which is alpha. // +optional
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:24 UTC 2023 - 35.1K bytes - Viewed (0) -
pkg/apis/apps/validation/validation.go
apps.RollingUpdateStatefulSetStrategyType, apps.OnDeleteStatefulSetStrategyType))) } allErrs = append(allErrs, ValidatePersistentVolumeClaimRetentionPolicy(spec.PersistentVolumeClaimRetentionPolicy, fldPath.Child("persistentVolumeClaimRetentionPolicy"))...) allErrs = append(allErrs, apivalidation.ValidateNonnegativeField(int64(spec.Replicas), fldPath.Child("replicas"))...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 06 22:11:20 UTC 2024 - 41.4K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_utils.go
WhenDeleted: apps.RetainPersistentVolumeClaimRetentionPolicyType, WhenScaled: apps.RetainPersistentVolumeClaimRetentionPolicyType, } if set.Spec.PersistentVolumeClaimRetentionPolicy != nil { policy = *set.Spec.PersistentVolumeClaimRetentionPolicy } return policy } // matchesRef returns true when the object matches the owner reference, that is the name and GVK are the same.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 26.7K bytes - Viewed (0)