Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update c.pod_design.md #129

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update c.pod_design.md #129

wants to merge 1 commit into from

Conversation

jfullam
Copy link

@jfullam jfullam commented Sep 13, 2020

The option to show specific labels on a get command is no -L and not -l

The option to show specific labels on a get command is no -L and not -l
@mihail-i4v
Copy link

Differences in output

➜ k get pods -l app
NAME     READY   STATUS    RESTARTS   AGE
nginx1   1/1     Running   0          4m48s
nginx2   1/1     Running   0          4m44s
nginx3   1/1     Running   0          4m40s
  -l, --selector='': Selector (label query) to filter on, supports '=', '==', and '!='.(e.g. -l key1=value1,key2=value2)
➜ k get pods -L app
NAME     READY   STATUS    RESTARTS   AGE     APP
nginx1   1/1     Running   0          3m33s   v1
nginx2   1/1     Running   0          3m29s   v2
nginx3   1/1     Running   0          3m25s   v1
  -L, --label-columns=[]: 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 options like -L label1 -L label2...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants