Documentation ¶
Overview ¶
Package bootstrap provides tools to build the initial bootstrap Talos cluster without CAPI.
Index ¶
- type Cluster
- func (cluster *Cluster) BridgeIP() netip.Addr
- func (cluster *Cluster) KubernetesClient() taloscluster.K8sProvider
- func (cluster *Cluster) Name() string
- func (cluster *Cluster) Nodes() []provision.NodeInfo
- func (cluster *Cluster) Setup(ctx context.Context) error
- func (cluster *Cluster) SideroComponentsIP() netip.Addr
- func (cluster *Cluster) TearDown(ctx context.Context) error
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
Cluster sets up initial Talos cluster.
func NewCluster ¶
NewCluster creates new bootstrap Talos cluster.
func (*Cluster) KubernetesClient ¶
func (cluster *Cluster) KubernetesClient() taloscluster.K8sProvider
KubernetesClient returns k8s client access adapter.
func (*Cluster) SideroComponentsIP ¶
SideroComponentsIP returns the IP of the master node.
type Options ¶
type Options struct { Name string CIDR string Vmlinuz, Initramfs string InstallerImage string CNIBundleURL string TalosctlPath string RegistryMirrors []string BootstrapMemMB int64 BootstrapCPUs int64 BootstrapDiskGB int64 VMNodes int VMMemMB int64 VMCPUs int64 VMDiskGB int64 VMDefaultBootOrder string }
Options for the bootstrap cluster.
Click to show internal directories.
Click to hide internal directories.