labels

Print out specific labels each as their own columns

Print out specific labels each as their own columns

Command

  1. kubectl get deployments -L=app

Output

  1. NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE APP
  2. nginx 1 1 1 1 8m nginx