Set statefulset update and management policy explicitly (#515)

* fix logging in retry

* explicitly set the stateful set update strategy to onDelete

* add podManagementPolicy
This commit is contained in:
Sergey Dudoladov
2019-03-13 11:49:18 +01:00
committed by GitHub
parent db72d82f14
commit 0b53dbe5dc
5 changed files with 24 additions and 1 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ func (c *Controller) moveMasterPodsOffNode(node *v1.Node) {
)
if err != nil {
c.logger.Warning("failed to move master pods from the node %q: timeout of %v minutes expired", node.Name, c.opConfig.MasterPodMoveTimeout)
c.logger.Warningf("failed to move master pods from the node %q: timeout of %v minutes expired", node.Name, c.opConfig.MasterPodMoveTimeout)
}
}