-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Better namespace experience with Kubernetes #991
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
Changes from all commits
f0aa126
c23c148
31dccff
65526a2
f097831
2af66be
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,5 +31,7 @@ func newListCommand(dockerCli command.Cli) *cobra.Command { | |
|
|
||
| flags := cmd.Flags() | ||
| flags.StringVar(&opts.Format, "format", "", "Pretty-print stacks using a Go template") | ||
| flags.BoolVarP(&opts.AllNamespaces, "all-namespaces", "", false, "List stacks among all Kubernetes namespaces") | ||
| flags.SetAnnotation("all-namespaces", "kubernetes", nil) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this have to be gated by API-version as well? (possibly not because it was experimental so far)
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes it was experimental and also targeting only Kubernetes and UCP. The behavior toward the Docker daemon is supposed to not have been changed. |
||
| return cmd | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wonder if we considered
--namespace=all(e.g.) to show all namespaces (which would be consistent with--orchestrator=all), also allowing listing stack in a single namespace--namespace=<something>--filter namespace=footo limit the outputThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe what drives the current design is to mimic what
kubectldoes in order to not confuse Kubernetes users.