.TH "KUBERNETES" "1" " kubernetes User Manuals" "Eric Paris" "Jan 2015" "" .SH NAME .PP kubectl exec \- Execute a command in a container. .SH SYNOPSIS .PP \fBkubectl exec\fP [OPTIONS] .SH DESCRIPTION .PP Execute a command in a container. Examples: $ kubectl exec \-p 123456\-7890 \-c ruby\-container date .PP $ kubectl exec \-p 123456\-7890 \-c ruby\-container \-i \-t \-\- bash \-il