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

display 13 characters for imageid in "crictl ps" #360

Closed
yanxuean opened this issue Aug 2, 2018 · 0 comments · Fixed by #361
Closed

display 13 characters for imageid in "crictl ps" #360

yanxuean opened this issue Aug 2, 2018 · 0 comments · Fixed by #361
Assignees

Comments

@yanxuean
Copy link
Contributor

yanxuean commented Aug 2, 2018

We should display concise imageid in "crictl ps" command. keeping consistent with "crictl images".
@Random-Liu @feiskyer

$ crictl ps
CONTAINER ID        IMAGE                                                                     CREATED             STATE               NAME                      ATTEMPT
b7746a7c5d51b       sha256:6f7f2dc7fab5d7e7f99dc4ac176683a981a9ff911d643b9f29ffa146838deda3   29 minutes ago      Running             sidecar                   0
81065c78eb5a1       sha256:c2ce1ffb51ed60c54057f53b8756231f5b4b792ce04113c6755339a1beb25943   30 minutes ago      Running             dnsmasq                   0
ba71e307c802f       sha256:4689081edb103a9e8174bf23a255bfbe0b2d9ed82edc907abab6989d1c60f02c   31 minutes ago      Running             storage-provisioner       0

$ crictl images
IMAGE                                      TAG                 IMAGE ID            SIZE
gcr.io/k8s-minikube/storage-provisioner    v1.8.1              4689081edb103       20.7MB
k8s.gcr.io/etcd-amd64                      3.1.12              52920ad46f5bf       55.3MB
k8s.gcr.io/k8s-dns-dnsmasq-nanny-amd64     1.14.8              c2ce1ffb51ed6       11.1MB
k8s.gcr.io/k8s-dns-kube-dns-amd64          1.14.8              80cc5ea4b547a       13.4MB
k8s.gcr.io/k8s-dns-sidecar-amd64           1.14.8              6f7f2dc7fab5d       11.4MB
k8s.gcr.io/kube-addon-manager              v8.6                9c16409588eb1       21.2MB
k8s.gcr.io/kube-apiserver-amd64            v1.10.0             af20925d51a37       32.9MB
k8s.gcr.io/kube-controller-manager-amd64   v1.10.0             ad86dbed15559       30MB
k8s.gcr.io/kube-proxy-amd64                v1.10.0             bfc21aadc7d3e       31.5MB
k8s.gcr.io/kube-scheduler-amd64            v1.10.0             704ba848e69a7       12.9MB
k8s.gcr.io/kubernetes-dashboard-amd64      v1.8.1              e94d2f21bc0c2       40.5MB
k8s.gcr.io/pause                           3.1                 da86e6ba6ca19       317kB
@yanxuean yanxuean changed the title display 16 charectors display 16 characters for imageid in "crictl ps" Aug 2, 2018
@yanxuean yanxuean changed the title display 16 characters for imageid in "crictl ps" display 13 characters for imageid in "crictl ps" Aug 3, 2018
yanxuean added a commit to yanxuean/cri-tools that referenced this issue Aug 3, 2018
fix kubernetes-sigs#360
Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
yanxuean added a commit to yanxuean/cri-tools that referenced this issue Aug 4, 2018
fix kubernetes-sigs#360
Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
yanxuean added a commit to yanxuean/cri-tools that referenced this issue Aug 11, 2018
fix kubernetes-sigs#360
Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
yanxuean added a commit to yanxuean/cri-tools that referenced this issue Aug 11, 2018
fix kubernetes-sigs#360

Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
yanxuean added a commit to yanxuean/cri-tools that referenced this issue Aug 13, 2018
fix kubernetes-sigs#360
Signed-off-by: yanxuean <yan.xuean@zte.com.cn>
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 a pull request may close this issue.

1 participant