vmsize

package
v0.10.1-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VmSize

type VmSize struct {
	CpuCount int
	GpuCount int
	GpuName  string
	MemoryMB int
}

func GetVmSize

func GetVmSize(size pb.VirtualMachineSizeType) (VmSize, error)

GetVmSize converts the size type to CPU and Memory values.

https://docs.microsoft.com/en-us/azure/virtual-machines/windows/sizes
NOTE: Kubernetes requires 2 CPU cores. [ERROR NumCPU]: the number of available CPUs 1 is less than the required 2.

Jump to

Keyboard shortcuts

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