Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultKubeVer = "1.34.2"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*Options)
Option is a functional option for UserData.
func WithArch ¶
WithArch sets the CPU architecture for the flex node binary (e.g. "amd64", "arm64").
func WithEnableNvidiaGPURuntime ¶
WithEnableNvidiaGPURuntime configures the containerd Nvidia GPU runtime.
func WithKubeVersion ¶
WithKubeVersion sets the Kubernetes version for the downloaded binaries.
func WithKubeadmConfig ¶
func WithKubeadmConfig(cfg *kubeadmapi.Config) Option
WithKubeadmConfig sets the kubeadm join configuration.
Click to show internal directories.
Click to hide internal directories.