Difference between revisions of "Kubectl virt console"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 +
 +
kubectl virt console testvm
 +
virtualmachineinstance.kubevirt.io "testvm" not found
 +
  
 
<pre>
 
<pre>

Revision as of 11:15, 3 May 2021

kubectl virt console testvm
virtualmachineinstance.kubevirt.io "testvm" not found


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


Related commands

See also

Advertising: