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

Make kubectl gs template subcommand flags easier to understand #605

Open
marians opened this issue Nov 30, 2021 · 0 comments
Open

Make kubectl gs template subcommand flags easier to understand #605

marians opened this issue Nov 30, 2021 · 0 comments
Labels
ui/kubectl-gs Kubectl plugin for the Giant Swarm control plane K8s API ux/mental-load About avoiding users having to memorize, process, reflect things. ux/productivity About how fast users can reach their goals with our help

Comments

@marians
Copy link
Member

marians commented Nov 30, 2021

Currently kubectl gs template cluster|nodepool --help show a lot of flags. This includes "global" kubectl flags which are not specific to the subcommand.

Many of the subcommand's flags are provider-specific. So to a certain use, many flags are not actually relevant.

We discussed options in SIG UX on Nov 30.

TODO

  • (1) Hide global flags by default from help output, similar to what kubectl [command] --help does. (This applies to most kubectl-gs commands, not just template.)

  • (2) Group the template subcommand flags into groups like "Common", "AWS specific", "Azure specific" etc.

  • (3) Only show the relevant flag groups when the --provider flag is given. (Extension of (2)).

@marians marians added ui/kubectl-gs Kubectl plugin for the Giant Swarm control plane K8s API ux/mental-load About avoiding users having to memorize, process, reflect things. ux/productivity About how fast users can reach their goals with our help labels Nov 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui/kubectl-gs Kubectl plugin for the Giant Swarm control plane K8s API ux/mental-load About avoiding users having to memorize, process, reflect things. ux/productivity About how fast users can reach their goals with our help
Projects
None yet
Development

No branches or pull requests

1 participant