resrources

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloudInitSecretCreator

func CloudInitSecretCreator(mdName string, oscType CloudInitSecret, data []byte) reconciling.NamedSecretCreatorGetter

CloudInitSecretCreator returns a function to create a secret that contains the cloud-init configurations.

func KubeletFlags

func KubeletFlags() []string

func KubeletSystemdUnit

func KubeletSystemdUnit(containerRuntime, kubeletVersion, cloudProvider, hostname string, dnsIPs []net.IP, external bool, pauseImage string, initialTaints []corev1.Taint, extraKubeletFlags []string) (string, error)

KubeletSystemdUnit returns the systemd unit for the kubelet

func SafeDownloadBinariesScript

func SafeDownloadBinariesScript(kubeVersion string) (string, error)

Types

type CloudInitSecret

type CloudInitSecret string
const (
	ProvisioningCloudInit CloudInitSecret = "provisioning"

	MachineDeploymentOSPAnnotation = "k8c.io/operating-system-profile"
)

Jump to

Keyboard shortcuts

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