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

support to show podid in crictl ps #369

Merged
merged 1 commit into from
Aug 14, 2018

Conversation

yanxuean
Copy link
Contributor

Signed-off-by: yanxuean yan.xuean@zte.com.cn

test record:

[root@cloud-test2:~]$ crictl ps
CONTAINER ID        IMAGE               CREATED             STATE               NAME                ATTEMPT             POD ID
9f7a48803a2f5       9f76b554c615d       3 days ago          Running             vms                 0                   3f075e72dfa28
b940b37a9f9ee       9f76b554c615d       3 days ago          Running             virtlet             0                   3f075e72dfa28
7fb15432579fa       9f76b554c615d       3 days ago          Running             libvirt             0                   3f075e72dfa28
f60944900ceb3       32609f1b11ae7       3 days ago          Running             kube-proxy          6                   ab863e4ae6f33
[root@cloud-test2:~]$
[root@cloud-test2:~]$
[root@cloud-test2:~]$ crictl pods
POD ID              CREATED             STATE               NAME                NAMESPACE           ATTEMPT
3f075e72dfa28       3 days ago          Ready               virtlet-wcb8r       kube-system         0
ab863e4ae6f33       3 days ago          Ready               kube-proxy-bqnhm    kube-system         0
[root@cloud-test2:~]$


Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Aug 14, 2018
@yanxuean
Copy link
Contributor Author

@Random-Liu @feiskyer PTAL

@feiskyer
Copy link
Member

LGTM

@Random-Liu
Copy link
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 14, 2018
@Random-Liu Random-Liu merged commit b02d752 into kubernetes-sigs:master Aug 14, 2018
@yanxuean yanxuean deleted the show-pod-in-ps branch August 14, 2018 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants