Help us shape the future of Go! Take the 2026 Go Developer Survey

virtualization

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

README

Virtualization

Subcommand for the command line client for Deckhouse. Manages virtual machine-related operations in your Kubernetes cluster.

Available Commands:
  • console - Connect to a console of a virtual machine.
  • port-forward - Forward local ports to a virtual machine
  • scp - SCP files from/to a virtual machine.
  • ssh - Open an ssh connection to a virtual machine.
  • vnc - Open a vnc connection to a virtual machine.
  • start - Start a virtual machine.
  • stop - Stop a virtual machine.
  • restart - Restart a virtual machine.
  • evict - Evict a virtual machine.
Examples
console
d8 virtualization console myvm
d8 virtualization console myvm.mynamespace
port-forward
d8 virtualization port-forward myvm tcp/8080:8080
d8 virtualization port-forward --stdio=true myvm.mynamespace 22
scp
d8 virtualization scp myfile.bin user@myvm:myfile.bin
d8 virtualization scp user@myvm:myfile.bin ~/myfile.bin
ssh
d8 virtualization --identity-file=/path/to/ssh_key ssh user@myvm.mynamespace
d8 virtualization ssh --local-ssh=true --namespace=mynamespace --username=user myvm
vnc
d8 virtualization vnc myvm.mynamespace
d8 virtualization vnc myvm -n mynamespace
start
d8 virtualization start myvm.mynamespace --wait 
d8 virtualization start myvm -n mynamespace
stop
d8 virtualization stop myvm.mynamespace --force 
d8 virtualization stop myvm -n mynamespace 
restart
d8 virtualization restart myvm.mynamespace --timeout=1m
d8 virtualization restart myvm -n mynamespace
evict
d8 virtualization evict myvm.mynamespace
d8 virtualization evict myvm -n mynamespace

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(programName string) (*cobra.Command, clientcmd.ClientConfig)

Types

This section is empty.

Directories

Path Synopsis
cmd
scp
ssh
vnc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL