scripts

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CCMMigrationRegenerateControlPlaneConfigs added in v1.5.0

func CCMMigrationRegenerateControlPlaneConfigs(workdir string, nodeID int, verboseFlag string) (string, error)

func DaemonsEnvironmentDropIn added in v1.4.0

func DaemonsEnvironmentDropIn(daemons ...string) (string, error)

func DeleteEncryptionProvidersConfig added in v1.3.0

func DeleteEncryptionProvidersConfig() string

func DisableNMCloudSetup added in v1.3.1

func DisableNMCloudSetup() (string, error)

func EnvironmentFile

func EnvironmentFile(cluster *kubeoneapi.KubeOneCluster) (string, error)

func Hostname

func Hostname() string

func KubeadmAmazonLinux added in v1.2.0

func KubeadmAmazonLinux(cluster *kubeoneapi.KubeOneCluster, force bool) (string, error)

func KubeadmCentOS

func KubeadmCentOS(cluster *kubeoneapi.KubeOneCluster, force bool) (string, error)

func KubeadmCert

func KubeadmCert(workdir string, nodeID int, verboseFlag string) (string, error)

func KubeadmDebian

func KubeadmDebian(cluster *kubeoneapi.KubeOneCluster, force bool) (string, error)

func KubeadmFlatcar added in v1.2.0

func KubeadmFlatcar(cluster *kubeoneapi.KubeOneCluster) (string, error)

func KubeadmInit

func KubeadmInit(workdir string, nodeID int, verboseFlag, token, tokenTTL string, skipPhases string) (string, error)

func KubeadmJoin

func KubeadmJoin(workdir string, nodeID int, verboseFlag string) (string, error)

func KubeadmJoinWorker

func KubeadmJoinWorker(workdir string, nodeID int, verboseFlag string) (string, error)

func KubeadmPauseImageVersion added in v1.1.0

func KubeadmPauseImageVersion(kubernetesVersion string) (string, error)

func KubeadmReset

func KubeadmReset(verboseFlag, workdir string) (string, error)

func KubeadmUpgrade added in v1.4.0

func KubeadmUpgrade(kubeadmCmd, workdir string, leader bool, nodeID int) (string, error)

func MigrateToContainerd added in v1.3.0

func MigrateToContainerd(cluster *kubeoneapi.KubeOneCluster, node *kubeoneapi.HostConfig) (string, error)

func PruneImages added in v1.9.0

func PruneImages() string

func RemoveBinariesAmazonLinux added in v1.2.0

func RemoveBinariesAmazonLinux() (string, error)

func RemoveBinariesCentOS

func RemoveBinariesCentOS() (string, error)

func RemoveBinariesDebian

func RemoveBinariesDebian() (string, error)

func RemoveBinariesFlatcar added in v1.2.0

func RemoveBinariesFlatcar() (string, error)

func Render

func Render(cmd string, variables map[string]interface{}) (string, error)

Render text template with given `variables` Render-context

func RestartKubeAPIServerCrictl added in v1.2.0

func RestartKubeAPIServerCrictl(ensure bool) (string, error)

func RestartKubelet added in v1.4.6

func RestartKubelet() string

func SaveAuditPolicyConfig

func SaveAuditPolicyConfig(workdir string) (string, error)

func SaveAuditWebhookConfig added in v1.9.0

func SaveAuditWebhookConfig(workdir string) (string, error)

func SaveCABundle added in v1.3.0

func SaveCABundle(workdir string) (string, error)

func SaveCloudConfig

func SaveCloudConfig(workdir string) (string, error)

func SaveEncryptionProvidersConfig added in v1.3.0

func SaveEncryptionProvidersConfig(workdir, fileName string) (string, error)

func SavePodNodeSelectorConfig

func SavePodNodeSelectorConfig(workdir string) (string, error)

func UpgradeKubeadmAndCNIAmazonLinux added in v1.2.0

func UpgradeKubeadmAndCNIAmazonLinux(cluster *kubeoneapi.KubeOneCluster) (string, error)

func UpgradeKubeadmAndCNICentOS

func UpgradeKubeadmAndCNICentOS(cluster *kubeoneapi.KubeOneCluster) (string, error)

func UpgradeKubeadmAndCNIDebian

func UpgradeKubeadmAndCNIDebian(cluster *kubeoneapi.KubeOneCluster) (string, error)

func UpgradeKubeadmAndCNIFlatcar added in v1.2.0

func UpgradeKubeadmAndCNIFlatcar(cluster *kubeoneapi.KubeOneCluster) (string, error)

func UpgradeKubeletAndKubectlAmazonLinux added in v1.2.0

func UpgradeKubeletAndKubectlAmazonLinux(cluster *kubeoneapi.KubeOneCluster) (string, error)

func UpgradeKubeletAndKubectlCentOS

func UpgradeKubeletAndKubectlCentOS(cluster *kubeoneapi.KubeOneCluster) (string, error)

func UpgradeKubeletAndKubectlDebian

func UpgradeKubeletAndKubectlDebian(cluster *kubeoneapi.KubeOneCluster) (string, error)

func UpgradeKubeletAndKubectlFlatcar added in v1.2.0

func UpgradeKubeletAndKubectlFlatcar(cluster *kubeoneapi.KubeOneCluster) (string, error)

Types

type Data

type Data map[string]interface{}

Jump to

Keyboard shortcuts

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