statefulSet kubectl rollout command

This commit is contained in:
crimsonfaith91
2017-08-07 14:49:46 -07:00
parent 2f00e6d72c
commit ebdbafd2c5
14 changed files with 310 additions and 113 deletions

View File

@@ -256,11 +256,11 @@ func (ssc *defaultStatefulSetControl) updateStatefulSet(
collisionCount int32,
pods []*v1.Pod) (*apps.StatefulSetStatus, error) {
// get the current and update revisions of the set.
currentSet, err := applyRevision(set, currentRevision)
currentSet, err := ApplyRevision(set, currentRevision)
if err != nil {
return nil, err
}
updateSet, err := applyRevision(set, updateRevision)
updateSet, err := ApplyRevision(set, updateRevision)
if err != nil {
return nil, err
}