-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
Description
When we filter on a service name, it requires an exact match, but it should follow swarm filter and match the prefix:
# Kubernetes matches only exact name
$ docker stack service mystack --filter name=exact-name --orchestrator=kubernetes
ID NAME MODE REPLICAS IMAGE PORTS
af5e0438-634 mystack_exact-name replicated 0/1 docker-teaches-code *:8080->8080/tcp
# And not prefix
$ docker stack service mystack --filter name=exact --orchestrator=kubernetes
ID NAME MODE REPLICAS IMAGE PORTS
# But swarm does
$ docker stack service mystack --filter name=exact --orchestrator=swarm
ID NAME MODE REPLICAS IMAGE PORTS
n6arf4cjh6av mystack_exact-name replicated 0/1 docker-teaches-code *:8080->8080/tcpReactions are currently unavailable