Difference between revisions of "Kubectl virt console"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
+
{{lowercase}}
  kubectl virt console testvm
+
  [[kubectl virt]] console testvm
 
  virtualmachineinstance.kubevirt.io "testvm" not found
 
  virtualmachineinstance.kubevirt.io "testvm" not found
 
  Solution: [[kubectl virt start]] testvm
 
  Solution: [[kubectl virt start]] testvm

Latest revision as of 17:28, 24 October 2021

kubectl virt console testvm
virtualmachineinstance.kubevirt.io "testvm" not found
Solution: kubectl virt start testvm

kubectl virt console testvm
Successfully connected to testvm console. The escape sequence is ^]


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[edit]

See also[edit]

Advertising: