agent

package
v0.0.0-...-c53fdc3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

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"`
	BootArtifactsBaseURL string `json:"bootArtifactsBaseURL,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"`
	// list of interfaces and mac addresses
	Interfaces    []*aiv1beta1.Interface `json:"interfaces,omitempty"`
	NetworkConfig aiv1beta1.NetConfig    `json:"networkConfig,omitempty"`
}

Host defines per host configurations

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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