show labels

Print out all labels on each Resource in a single column (last).

Print out all labels on each Resource in a single column (last).

Command

  1. kubectl get deployment --show-labels

Output

  1. NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE LABELS
  2. nginx 1 1 1 1 7m app=nginx