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

Clean up the general aliases in the kubectl plugin #7828

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

j-griffith
Copy link
Contributor

@j-griffith j-griffith commented May 3, 2019

There's a ton of aliases being added for kubectl commands, which is
awesome, but if you're like me you only remember a handufl of them.
Really the top level aliases are usually the most valuable for me and
easier to remember.

This change adds a few missing general aliases, and groups the general
aliases together in the top of the doc. This way even if "your
specific" alias is missing, all the primitives are in place to provide
the foundation and make kubectl much easier to work with.

Added aliases:

  • kg - kubectl get
  • kgans - kubectl get $@ --all-namespaces (kga is already taken)
  • kd - kubectl describe

@github-actions github-actions bot added Area: plugin Issue or PR related to a plugin Topic: alias Pull Request or issue regarding aliases labels May 3, 2019
@j-griffith
Copy link
Contributor Author

I submitted a PR for PVC support as well, then started thinking; rather than just adding every single resource as it comes up (and never remembering most of them) maybe just add some of the missing base/general aliases and that would be good enough.

There's a ton of aliases being added for kubectl commands, which is
awesome, but if you're like me you only remember a handufl of them.
Really the top level aliases are usually the most valuable for me and
easier to remember.

This change adds a few missing `general` aliases, and groups the general
aliases together in the top of the doc.  This way even if "your
specific" alias is missing, all the primitives are in place to provide
the foundation and make kubectl much easier to work with.

Added aliases:
  * kg    - kubectl get
  * kgans - kubectl get $@ --all-namespaces (kga is taken)
  * kd    - kubectl describe
@j-griffith j-griffith force-pushed the kubectl_plugin_basic_aliases branch from ea404ec to 139b7d1 Compare May 3, 2019 20:30
@mcornella mcornella added the Status: conflicts Pull Request that has conflicts with the master branch label May 26, 2019
@mcornella mcornella added the Type: documentation Documentation issue or Pull Request label Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: plugin Issue or PR related to a plugin Status: conflicts Pull Request that has conflicts with the master branch Topic: alias Pull Request or issue regarding aliases Type: documentation Documentation issue or Pull Request
Projects
Status: Backlog
Development

Successfully merging this pull request may close these issues.

None yet

2 participants