You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The filter on the Containers table is not functioning as expected. The displayed results are inaccurate when attempting to filter containers based on their status or image name.
Steps to reproduce
Start new containers
Start a Docker container: docker run -d -p 5500:80 --restart=always nginx
Create a Kubernetes deployment: kubectl create deployment nginx-test --image=nginx:stable
Create a Kubernetes service: kubectl create service clusterip nginx-test --tcp=5000:80
Filter the Containers table
Navigate to Containers
In the filter input, enter "running" to filter by the container's status
In a separate attempt, enter "nginx" to filter by containers with the nginx image
Expected behavior
When filtering by "running," the Containers list should only display running containers
Actual behavior
When filtering by "running," the Containers list displays "There are no rows which match your search query" instead of showing running containers
The text was updated successfully, but these errors were encountered:
When filtering by "nginx," the Containers list should only display containers with the nginx image
Given the generic nature of the search field (unless we want to go into advanced filters which I'm not sure we support) I think the current behavior is ok. It will filter for both image & container name (this is important to be able to find named containers)
Given the generic nature of the search field (unless we want to go into advanced filters which I'm not sure we support) I think the current behavior is ok.
I agree. At first it was surprising to me that the filter expression is applied to all columns and not just the name, and I can conceive situations where this might show more containers than you want, but I certainly like the simplicity of it.
Let's keep the simple filtering across all columns as the only option for now.
rak-phillip
changed the title
Containers Dashboard Does Not Filter by State and Image
Containers Dashboard Does Not Filter by State
Nov 20, 2023
When filtering by "nginx," the Containers list should only display containers with the nginx image
It looks like the existing filter behaves as expected by matching name/image to the provided string. I've removed the criteria related to filtering the image by name.
The filter on the Containers table is not functioning as expected. The displayed results are inaccurate when attempting to filter containers based on their status or image name.
Steps to reproduce
docker run -d -p 5500:80 --restart=always nginx
kubectl create deployment nginx-test --image=nginx:stable
kubectl create service clusterip nginx-test --tcp=5000:80
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: