-
Notifications
You must be signed in to change notification settings - Fork 453
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
'crictl status --label ' operation does not work . #448
Comments
Could you try with crictl v1.12.0 for kubernetes v1.12? |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle rotten |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Issue Description:
When I want to dispaly the stats of a particular label's container in the kubenet environment, 'crictl status --label ' operation does not work .
All containers is running on the current environment .
crictl stats | wc -l
43
I want to see the current consumption of the container in the openshift-sdn project.
The expected output should be two pieces of information, but actually output all the containers.
crictl stats --label io.kubernetes.pod.namespace=openshift-sdn | wc -l
43
crictl version
Version: 0.1.0
RuntimeName: cri-o
RuntimeVersion: 1.12.6-1.rhaos4.0.git2f0cb0d.el7
RuntimeApiVersion: v1alpha1
oc version
Client Version: version.Info{Major:"4", Minor:"0+", GitVersion:"v4.0.22", GitCommit:"219bbe2f0c", GitTreeState:"", BuildDate:"2019-03-10T22:23:11Z", GoVersion:"", Compiler:"", Platform:""}
Server Version: version.Info{Major:"1", Minor:"12+", GitVersion:"v1.12.4+299da2c", GitCommit:"299da2c", GitTreeState:"clean", BuildDate:"2019-03-15T03:24:46Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}
The text was updated successfully, but these errors were encountered: