Documentation ¶
Index ¶
- func ContainerRuntimeHealthCheckSystemdUnit() string
- func ContainerdSystemdUnit(setTasksMax bool) (string, error)
- func DockerDaemonConfig() string
- func DockerSystemdUnit(setTasksMax bool) (string, error)
- func DownloadBinariesScript(kubeletVersion string, downloadKubelet bool) (string, error)
- func GetCACert(kubeconfig *clientcmdapi.Config) (string, error)
- func GetServerAddressFromKubeconfig(kubeconfig *clientcmdapi.Config) (string, error)
- func JournalDConfig() string
- func KernelModules() string
- func KernelSettings() string
- func KubeletFlags(version, cloudProvider, hostname string, dnsIPs []net.IP) (string, error)
- func KubeletHealthCheckSystemdUnit() string
- func KubeletSystemdUnit(kubeletVersion, cloudProvider, hostname string, dnsIPs []net.IP) (string, error)
- func StartAllUnits() string
- func StringifyKubeconfig(kubeconfig *clientcmdapi.Config) (string, error)
- func TxtFuncMap() template.FuncMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerRuntimeHealthCheckSystemdUnit ¶ added in v0.9.5
func ContainerRuntimeHealthCheckSystemdUnit() string
func ContainerdSystemdUnit ¶ added in v0.10.7
ContainerdSystemdUnit returns the systemd unit for containerd
func DockerDaemonConfig ¶ added in v0.10.7
func DockerDaemonConfig() string
DockerDaemonConfig returns the docker daemon.json with preferred settings
func DockerSystemdUnit ¶ added in v0.10.7
DockerSystemdUnit returns the systemd unit for docker. setTasksMax should be set if the consumer uses systemd > 226 (Ubuntu & CoreoS - NOT CentOS)
func DownloadBinariesScript ¶ added in v0.9.5
DownloadBinariesScript returns the script which is responsible to download all required binaries. Extracted into a dedicated function so we can use it to prepare custom images: TODO: Use it to prepare custom images...
func GetServerAddressFromKubeconfig ¶
func GetServerAddressFromKubeconfig(kubeconfig *clientcmdapi.Config) (string, error)
func JournalDConfig ¶ added in v0.9.5
func JournalDConfig() string
JournalDConfig returns the journal config preferable on every node
func KernelModules ¶ added in v0.9.5
func KernelModules() string
KernelModules returns the list of kernel modules required for a kubernetes worker node
func KernelSettings ¶ added in v0.9.5
func KernelSettings() string
KernelSettings returns the list of kernel settings required for a kubernetes worker node
func KubeletFlags ¶ added in v0.9.5
KubeletFlags returns the kubelet flags
func KubeletHealthCheckSystemdUnit ¶ added in v0.9.5
func KubeletHealthCheckSystemdUnit() string
func KubeletSystemdUnit ¶ added in v0.9.5
func KubeletSystemdUnit(kubeletVersion, cloudProvider, hostname string, dnsIPs []net.IP) (string, error)
KubeletSystemdUnit returns the systemd unit for the kubelet
func StartAllUnits ¶ added in v0.10.7
func StartAllUnits() string
StartAllUnits returns the shell commands to start all required units
func StringifyKubeconfig ¶
func StringifyKubeconfig(kubeconfig *clientcmdapi.Config) (string, error)
StringifyKubeconfig marshals a kubeconfig to its text form
func TxtFuncMap ¶ added in v0.9.5
TxtFuncMap returns an aggregated template function map. Currently (custom functions + sprig)
Types ¶
This section is empty.