lib/kubes/cli/help/exec.md in kubes-0.3.0 vs lib/kubes/cli/help/exec.md in kubes-0.3.1
- old
+ new
@@ -6,12 +6,19 @@
kubes exec sh
kubes exec ls -l
## Multiple Deployments
-If you have have multiple deployments in your ``.kubes/resources` then the command will use the first deployment by default. You can specify the specfic deployment with the `--name` option. Examples:
+If you have have multiple deployments in your `.kubes/resources` then the command will use the first deployment by default. You can specify the specfic deployment with the `--name` or `-n` option. Examples:
- kubes exec --name demo-web
- kubes exec --name demo-clock
- kubes exec --name demo-worker
- kubes exec --name demo-web sh
- kubes exec --name demo-web ls -l
+ kubes exec --name web
+ kubes exec -n web
+ kubes exec -n clock
+ kubes exec -n worker
+ kubes exec -n web sh
+ kubes exec -n web ls -l
+
+## Multiple Pod Containers
+
+If you have have multiple containers in your pod. You can specify the specfic container with the `--container` or `-c` option. Examples:
+
+ kubes exec --name web