kubectl taint update for NoExecute.

This commit is contained in:
Guangya Liu 2017-03-09 10:17:33 +08:00
parent 5e29e1ee05
commit ab94015ee8

View File

@ -61,7 +61,7 @@ var (
* A taint consists of a key, value, and effect. As an argument here, it is expressed as key=value:effect.
* The key must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to %[1]d characters.
* The value must begin with a letter or number, and may contain letters, numbers, hyphens, dots, and underscores, up to %[2]d characters.
* The effect must be NoSchedule or PreferNoSchedule.
* The effect must be NoSchedule, PreferNoSchedule or NoExecute.
* Currently taint can only apply to node.`)
taint_example = templates.Examples(`