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

[Kubernetes] stack services filters #1023

Merged
merged 2 commits into from
May 24, 2018

Commits on May 23, 2018

  1. Add filter support for stack ps and services with Kubernetes

    Signed-off-by: Mathieu Champlon <mathieu.champlon@docker.com>
    simonferquel authored and mat007 committed May 23, 2018
    Configuration menu
    Copy the full SHA
    1f7aa1c View commit details
    Browse the repository at this point in the history

Commits on May 24, 2018

  1. Match Swarm in how to combine filters

    `docker stack services --filter=label=foo=bar --filter=label=foo=baz my-stack` with Swarm gets handled as `filter on (a label named foo with value bar) AND (a label named foo with value baz).
    This obviously yields an empty result set every time, but if and how this should be changed is out of scope here, so simply align Kubernetes with Swarm for now.
    
    Signed-off-by: Mathieu Champlon <mathieu.champlon@docker.com>
    mat007 committed May 24, 2018
    Configuration menu
    Copy the full SHA
    297866e View commit details
    Browse the repository at this point in the history