-
Notifications
You must be signed in to change notification settings - Fork 15.4k
Add all subcommands to kubectl reference index page #45558
Copy link
Copy link
Closed
Labels
area/web-developmentIssues or PRs related to the kubernetes.io's infrastructure, design, or build processesIssues or PRs related to the kubernetes.io's infrastructure, design, or build processeskind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Metadata
Metadata
Assignees
Labels
area/web-developmentIssues or PRs related to the kubernetes.io's infrastructure, design, or build processesIssues or PRs related to the kubernetes.io's infrastructure, design, or build processeskind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.Denotes an issue or PR that has aged beyond stale and will be auto-closed.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.Indicates an issue or PR lacks a `triage/foo` label and requires one.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.Important over the long term, but may not be staffed and/or may need multiple releases to complete.
This is a Feature Request
What would you like to be added
Either:
kubectl config viewand find a match.When we do that, we can redirect https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands to the page that does include all subcommands on one page; we can do this whichever approach we picked.
Why is this needed
We want https://kubernetes.io/docs/reference/kubectl/generated/ to supersede https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands, but: the one-page legacy version is much easier to use for some tasks.
What we lose with the one page legacy version is the navigation to the rest of our docs, and a little bit of branding / UX.
Comments
The mechanism for this could use something a
<details>element for revealing extra context, keeping the overall page small and readable. If we do that, we should think about how to enable a useful way to search for subcommands.