Skip to content

Commit 2fe846f

Browse files
ManagorMachiavelliIIdmmqz
authored
kubectl-exec: add page (#17651)
Co-authored-by: Machiavelli <[email protected]> Co-authored-by: Dylan <[email protected]>
1 parent 99c7af4 commit 2fe846f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pages/common/kubectl-exec.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# kubectl exec
2+
3+
> Execute a command in a container.
4+
> More information: <https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#exec>.
5+
6+
- Open Bash in a pod, using the first container by default:
7+
8+
`kubectl exec {{pod_name}} {{-it|--stdin --tty]}} -- bash`

0 commit comments

Comments
 (0)