
This patchset enables VINO controller to pass variables to vino-builder that are generated dynamically by IPAM module. Also it takes IP address of the vino bridge and injects it into node annotation togather with IPAM values. Vino-builder polls a k8s node object to get these values before proceeding. Change-Id: I5b4e23df0fa4fa980b2a6724468bc6f2d9546409
20 KiB
Vino API reference
Packages:
airship.airshipit.org/v1
Package v1 contains API Schema definitions for the airship v1 API group
Resource Types:AllocatedIP
(Appears on: IPPoolSpec)
AllocatedIP Allocates an IP and MAC address to an entity
Field | Description |
---|---|
ip string |
|
mac string |
|
allocatedTo string |
BMCCredentials
(Appears on: VinoSpec)
BMCCredentials contain credentials that will be used to create BMH nodes sushy tools will use these credentials as well, to set up authentication
Field | Description |
---|---|
username string |
|
password string |
Builder
Field | Description |
---|---|
gwIPBridge string |
|
networks map[string]./pkg/api/v1.BuilderNetwork |
|
domains map[string]./pkg/api/v1.BuilderDomain |
BuilderDomain
(Appears on: Builder)
Field | Description |
---|---|
interfaces map[string]./pkg/api/v1.BuilderNetworkInterface |
BuilderNetwork
(Appears on: Builder)
BuilderNetworkInterface
(Appears on: BuilderDomain)
Field | Description |
---|---|
macAddress string |
CPUConfiguration
(Appears on: VinoSpec)
CPUConfiguration CPU node configuration
Field | Description |
---|---|
cpuExclude string |
Exclude CPU example 0-4,54-60 |
DaemonSetOptions
(Appears on: VinoSpec)
DaemonSetOptions be used to spawn vino-builder, libvirt, sushy an
Field | Description |
---|---|
namespacedName NamespacedName |
|
libvirtImage string |
|
sushyImage string |
|
vinoBuilderImage string |
|
nodeAnnotatorImage string |
DiskDrivesTemplate
(Appears on: NodeSet)
DiskDrivesTemplate defines disks on the VM
Field | Description |
---|---|
name string |
|
type string |
|
path string |
|
options DiskOptions |
DiskOptions
(Appears on: DiskDrivesTemplate)
DiskOptions disk options
Field | Description |
---|---|
sizeGb int |
|
sparse bool |
IPPool
IPPool is the Schema for the ippools API
Field | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
metadata Kubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||
spec IPPoolSpec |
|
||||||||||
status IPPoolStatus |
IPPoolSpec
(Appears on: IPPool)
IPPoolSpec tracks allocation ranges and statuses within a specific subnet IPv4 or IPv6 subnet. It has a set of ranges of IPs within the subnet from which IPs can be allocated by IPAM, and a set of IPs that are currently allocated already.
Field | Description |
---|---|
subnet string |
|
ranges []Range |
|
allocatedIPs []AllocatedIP |
|
macPrefix string |
MACPrefix defines the MAC prefix to use for VM mac addresses |
nextMAC string |
NextMAC indicates the next MAC address (in sequence) that will be provisioned to a VM in this Subnet |
IPPoolStatus
(Appears on: IPPool)
IPPoolStatus defines the observed state of IPPool
NamespacedName
(Appears on: DaemonSetOptions, NodeSet)
NamespacedName to be used to spawn VMs
Field | Description |
---|---|
name string |
|
namespace string |
Network
(Appears on: VinoSpec)
Network defines libvirt networks
Field | Description |
---|---|
name string |
Network Parameter defined |
subnet string |
|
type string |
|
allocationStart string |
|
allocationStop string |
|
dns_servers []string |
|
routes []VMRoutes |
|
macPrefix string |
MACPrefix defines the zero-padded MAC prefix to use for VM mac addresses, and is the first address that will be allocated sequentially to VMs in this network. If omitted, a default private MAC prefix will be used. The prefix should be specified in full MAC notation, e.g. 06:42:42:00:00:00 |
NetworkInterface
(Appears on: NodeSet)
NetworkInterface define interface on the VM
Field | Description |
---|---|
name string |
Define parameter for network interfaces |
type string |
|
network string |
|
mtu int |
|
options map[string]string |
NodeSelector
(Appears on: VinoSpec)
NodeSelector identifies nodes to create VMs on
Field | Description |
---|---|
matchLabels map[string]string |
Node type needs to specified |
NodeSet
(Appears on: VinoSpec)
NodeSet node definitions
Field | Description |
---|---|
name string |
Parameter for Node control-plane or worker |
count int |
|
bmhLabels map[string]string |
BMHLabels labels will be copied directly to BMHs that will be created These labels will override keys from k8s node, that are specified in vino.NodeLabelKeysToCopy |
libvirtTemplate NamespacedName |
|
networkInterfaces []NetworkInterface |
|
diskDrives []DiskDrivesTemplate |
|
networkDataTemplate NamespacedName |
NetworkDataTemplate must have a template key |
Range
(Appears on: IPPoolSpec)
Range has (inclusive) bounds within a subnet from which IPs can be allocated
Field | Description |
---|---|
start string |
|
stop string |
VMRoutes
(Appears on: Network)
VMRoutes defined
Field | Description |
---|---|
network string |
|
netmask string |
|
gateway string |
Vino
Vino is the Schema for the vinoes API
Field | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
metadata Kubernetes meta/v1.ObjectMeta |
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||||||
spec VinoSpec |
|
||||||||||||||||
status VinoStatus |
VinoSpec
(Appears on: Vino)
VinoSpec defines the desired state of Vino
Field | Description |
---|---|
nodeSelector NodeSelector |
Define nodelabel parameters |
configuration CPUConfiguration |
Define CPU configuration |
networks []Network |
Define network parameters |
nodes []NodeSet |
Define node details |
daemonSetOptions DaemonSetOptions |
DaemonSetOptions defines how vino will spawn daemonset on nodes |
vmBridge string |
VMBridge defines the single interface name to be used as a bridge for VMs |
bmcCredentials BMCCredentials |
BMCCredentials contain credentials that will be used to create BMH nodes sushy tools will use these credentials as well, to set up authentication |
nodeLabelKeysToCopy []string |
NodeLabelKeysToCopy vino controller will get these labels from k8s nodes and place them on BMHs that correspond to this node |
VinoStatus
(Appears on: Vino)
VinoStatus defines the observed state of Vino
Field | Description |
---|---|
configMapRef Kubernetes core/v1.ObjectReference |
|
conditions []Kubernetes meta/v1.Condition |
This page was automatically generated with gen-crd-api-reference-docs