Difference between revisions of "Kubectl virt console"

From wikieduonline
Jump to navigation Jump to search
(Created page with " <pre> kubectl virt console fatal: Number of input parameters is incorrect, console accepts 1 arg(s), received 0 Connect to a console of a virtual machine instance. Usage:...")
 
Line 26: Line 26:
 
== See also ==
 
== See also ==
 
* {{KubeVirt}}
 
* {{KubeVirt}}
 +
 +
 +
[[Category:KubeVirt]]

Revision as of 11:13, 3 May 2021

kubectl virt console
fatal: Number of input parameters is incorrect, console accepts 1 arg(s), received 0

Connect to a console of a virtual machine instance.

Usage:
  kubectl virt console (VMI) [flags]

Examples:
  # Connect to the console on VirtualMachineInstance 'myvmi':
  kubectl virt console myvmi
  # Configure one minute timeout (default 5 minutes)
  kubectl virt console --timeout=1 myvmi

Flags:
  -h, --help          help for console
      --timeout int   The number of minutes to wait for the virtual machine instance to be ready. (default 5)

Use "kubectl virt options" for a list of global command-line options (applies to all commands).
argument validation failed

See also

Advertising: