mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-07 04:13:17 +02:00
kubectl-exec: add page (#17651)
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com> Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
This commit is contained in:
parent
99c7af4917
commit
2fe846f447
1 changed files with 8 additions and 0 deletions
8
pages/common/kubectl-exec.md
Normal file
8
pages/common/kubectl-exec.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# kubectl exec
|
||||
|
||||
> Execute a command in a container.
|
||||
> More information: <https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#exec>.
|
||||
|
||||
- Open Bash in a pod, using the first container by default:
|
||||
|
||||
`kubectl exec {{pod_name}} {{-it|--stdin --tty]}} -- bash`
|
Loading…
Add table
Reference in a new issue