- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for TemplateGeneration (0.15 sec)
-
pkg/registry/apps/daemonset/strategy.go
// update is not allowed to set status newDaemonSet.Status = oldDaemonSet.Status // update is not allowed to set TemplateGeneration newDaemonSet.Spec.TemplateGeneration = oldDaemonSet.Spec.TemplateGeneration // Any changes to the spec increment the generation number, any changes to the // status should reflect the generation number of the corresponding object. We push
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 01:52:02 UTC 2022 - 8.7K bytes - Viewed (0) -
pkg/registry/apps/daemonset/strategy_test.go
MatchExpressions: []metav1.LabelSelectorRequirement{}, }, UpdateStrategy: apps.DaemonSetUpdateStrategy{ Type: apps.OnDeleteDaemonSetStrategyType, }, TemplateGeneration: templateGeneration, Template: api.PodTemplateSpec{ ObjectMeta: metav1.ObjectMeta{ Labels: selectorLabels, }, Spec: api.PodSpec{ RestartPolicy: api.RestartPolicyAlways,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 01:52:02 UTC 2022 - 4.7K bytes - Viewed (0) -
pkg/controller/daemon/util/daemonset_util.go
} // IsPodUpdated checks if pod contains label value that either matches templateGeneration or hash func IsPodUpdated(pod *v1.Pod, hash string, dsTemplateGeneration *int64) bool { // Compare with hash to see if the pod is updated, need to maintain backward compatibility of templateGeneration templateMatches := dsTemplateGeneration != nil &&
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 18 11:54:59 UTC 2022 - 9.3K bytes - Viewed (0) -
pkg/apis/apps/v1/conversion.go
return err } out.Annotations = deepCopyStringMap(out.Annotations) // deep copy annotations because we change them below out.Annotations[appsv1.DeprecatedTemplateGeneration] = strconv.FormatInt(in.Spec.TemplateGeneration, 10) return nil } // Convert_apps_DaemonSetSpec_To_v1_DaemonSetSpec is defined here, because public // conversion is not auto-generated due to existing warnings.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 23 23:36:24 UTC 2022 - 6.2K bytes - Viewed (0) -
pkg/apis/apps/v1beta2/conversion.go
return err } out.Annotations = deepCopyStringMap(out.Annotations) out.Annotations[appsv1beta2.DeprecatedTemplateGeneration] = strconv.FormatInt(in.Spec.TemplateGeneration, 10) return nil } // Convert_apps_DaemonSetSpec_To_v1beta2_DaemonSetSpec is defined here, because public // conversion is not auto-generated due to existing warnings.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 23 23:36:24 UTC 2022 - 8.3K bytes - Viewed (0)