- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for inconsistentStatus (1.07 sec)
-
pkg/controller/statefulset/stateful_set_utils.go
count := len(revisions) if count <= 0 { return 1 } return revisions[count-1].Revision + 1 } // inconsistentStatus returns true if the ObservedGeneration of status is greater than set's // Generation or if any of the status's fields do not match those of set's status. func inconsistentStatus(set *apps.StatefulSet, status *apps.StatefulSetStatus) bool { return status.ObservedGeneration > set.Status.ObservedGeneration ||
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 26.7K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_control.go
status *apps.StatefulSetStatus) error { // complete any in progress rolling update if necessary completeRollingUpdate(set, status) // if the status is not inconsistent do not perform an update if !inconsistentStatus(set, status) { return nil } // copy set and update its status set = set.DeepCopy() if err := ssc.statusUpdater.UpdateStatefulSetStatus(ctx, set, status); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:03:46 UTC 2024 - 30.9K bytes - Viewed (0)