Fix kubectl drain for statefulset and use eviciton for drain if possible

This commit is contained in:
ymqytw
2016-10-20 09:43:48 -07:00
parent 0c7421fb51
commit b73fae6c55
18 changed files with 548 additions and 103 deletions

View File

@@ -255,7 +255,7 @@ func NewKubectlCommand(f cmdutil.Factory, in io.Reader, out, err io.Writer) *cob
NewCmdTop(f, out, err),
NewCmdCordon(f, out),
NewCmdUncordon(f, out),
NewCmdDrain(f, out),
NewCmdDrain(f, out, err),
NewCmdTaint(f, out),
},
},