kubectl virt console

From wikieduonline
Revision as of 17:28, 24 October 2021 by Welcome (talk | contribs)
Jump to navigation Jump to search

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

See also

Advertising: