kubectl: respect DaemonSet strategy parameters for rollout status

It handles "after-merge" comments from #41116
This commit is contained in:
Łukasz Oleś
2017-03-07 13:58:18 +01:00
parent 342ef1115c
commit b32afe1720
4 changed files with 146 additions and 6 deletions

View File

@@ -578,7 +578,7 @@ func (dsc *DaemonSetsController) manage(ds *extensions.DaemonSet) error {
return utilerrors.NewAggregate(errors)
}
// syncNodes deletes given pods and creates new daemon set pods on the given node
// syncNodes deletes given pods and creates new daemon set pods on the given nodes
// returns slice with erros if any
func (dsc *DaemonSetsController) syncNodes(ds *extensions.DaemonSet, podsToDelete, nodesNeedingDaemonPods []string) []error {
// We need to set expectations before creating/deleting pods to avoid race conditions.