Merge pull request #1980 from ghinks/examples/pod_exec
doc: comment pod_exec.py for multiple containers
This commit is contained in:
commit
872643ca52
@ -71,6 +71,8 @@ def exec_commands(api_instance):
|
||||
'/bin/sh',
|
||||
'-c',
|
||||
'echo This message goes to stderr; echo This message goes to stdout']
|
||||
# When calling a pod with multiple containers running the target container
|
||||
# has to be specified with a keyword argument container=<name>.
|
||||
resp = stream(api_instance.connect_get_namespaced_pod_exec,
|
||||
name,
|
||||
'default',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user