Annotate support label

allow "kubectl annotate pods -l app=nginx"
This commit is contained in:
hurf
2015-11-24 09:53:54 +08:00
parent aa534a5b5f
commit ad26db7f45
4 changed files with 11 additions and 1 deletions

View File

@@ -59,6 +59,10 @@ horizontalpodautoscalers (hpa), resourcequotas (quota) or secrets.
\fB\-\-resource\-version\fP=""
If non\-empty, the annotation update will only succeed if this is the current resource\-version for the object. Only valid when specifying a single resource.
.PP
\fB\-l\fP, \fB\-\-selector\fP=""
Selector (label query) to filter on
.PP
\fB\-a\fP, \fB\-\-show\-all\fP=false
When printing, show all resources (default hide terminated pods.)