Accepts a comma separated list of labels that are going to be presented as columns. Names are case-sensitive. You can also use multiple flag statements like -L label1 -L label2...
- name:no-headers
default_value:"false"
usage:When using the default output, don't print headers.
- name:output
shorthand:o
usage:|
Output format. One of:json|yaml|wide|name|go-template=...|go-template-file=...|jsonpath=...|jsonpath-file=... See golang template [http://golang.org/pkg/text/template/#pkg-overview] and jsonpath template [http://releases.k8s.io/HEAD/docs/user-guide/jsonpath.md].
- name:output-version
usage:|
Output the formatted object with the given group version (for ex:'extensions/v1beta1').
When printing, show all resources (default hide terminated pods.)
- name:show-labels
default_value:"false"
usage:|
When printing, show all labels as the last column (default hide labels column)
- name:sort-by
usage:|
If non-empty, sort list types using this field specification. The field specification is expressed as a JSONPath expression (e.g. '{.metadata.name}'). The field in the API resource specified by this JSONPath expression must be an integer or a string.
- name:template
usage:|
Template string or path to template file to use when -o=go-template, -o=go-template-file. The template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].
- name:watch
shorthand:w
default_value:"false"
usage:|
After listing/getting the requested object, watch for changes.
- name:watch-only
default_value:"false"
usage:|
Watch for changes to the requested object(s), without listing/getting first.
inherited_options:
- name:alsologtostderr
default_value:"false"
usage:log to standard error as well as files
- name:api-version
usage:|
DEPRECATED:The API version to use when talking to the server