Documentation ¶
Index ¶
Constants ¶
View Source
const AgentConfigVersion = "v1beta1"
AgentConfigVersion is the version supported by this package. If you bump this, you must also update the list of convertable values in pkg/types/conversion/agentconfig.go
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // AdditionalNTPSources is a list of NTP sources (hostname or IP) to be added to all cluster // hosts. They are added to any NTP sources that were configured through other means. // +optional AdditionalNTPSources []string `json:"additionalNTPSources,omitempty"` // ip address of node0 RendezvousIP string `json:"rendezvousIP,omitempty"` IPxeBaseURL string `json:"ipxeBaseURL,omitempty"` Hosts []Host `json:"hosts,omitempty"` }
Config or aka AgentConfig is the API for specifying additional configuration for the agent-based installer not covered by install-config.
type Host ¶
type Host struct { Hostname string `json:"hostname,omitempty"` Role string `json:"role,omitempty"` RootDeviceHints baremetal.RootDeviceHints `json:"rootDeviceHints,omitempty"` // list of interfaces and mac addresses Interfaces []*aiv1beta1.Interface `json:"interfaces,omitempty"` NetworkConfig aiv1beta1.NetConfig `json:"networkConfig,omitempty"` }
Host defines per host configurations
Click to show internal directories.
Click to hide internal directories.