Versions in this module Expand all Collapse all v2 v2.3.2 Dec 21, 2022 Changes in this version + var UpgradeStepList = []UpgradeStep + func KubeadmUpgradeTasks(runtime connector.Runtime, u *UpgradeKubeMaster) error + func OverrideCoreDNSService(runtime connector.Runtime, kubeAction common.KubeAction) error + func SetKubeletTasks(runtime connector.Runtime, kubeAction common.KubeAction) error + func SyncKubeBinaries(runtime connector.Runtime, binariesMap map[string]*files.KubeBinary) error + func SyncKubeConfigTask(runtime connector.Runtime, kubeAction common.KubeAction) error + type AddWorkerLabel struct + func (a *AddWorkerLabel) Execute(runtime connector.Runtime) error + type CalculateNextVersion struct + func (c *CalculateNextVersion) Execute(_ connector.Runtime) error + type ClusterIsExist struct + Not bool + func (c *ClusterIsExist) PreCheck(_ connector.Runtime) (bool, error) + type ClusterNotEqualDesiredVersion struct + func (c *ClusterNotEqualDesiredVersion) PreCheck(runtime connector.Runtime) (bool, error) + type CompareConfigAndClusterInfoModule struct + func (c *CompareConfigAndClusterInfoModule) Init() + type ConfigureKubernetes struct + func (c *ConfigureKubernetes) Execute(runtime connector.Runtime) error + type ConfigureKubernetesModule struct + func (c *ConfigureKubernetesModule) Init() + type CopyKubeConfigForControlPlane struct + func (c *CopyKubeConfigForControlPlane) Execute(runtime connector.Runtime) error + type DeleteKubeNodeModule struct + func (d *DeleteKubeNodeModule) Init() + type DrainNode struct + func (d *DrainNode) Execute(runtime connector.Runtime) error + type EnableKubelet struct + func (e *EnableKubelet) Execute(runtime connector.Runtime) error + type EtcdSecurityEnhancemenAction struct + ModuleName string + func (s *EtcdSecurityEnhancemenAction) Execute(runtime connector.Runtime) error + type FindNode struct + func (f *FindNode) Execute(runtime connector.Runtime) error + type GenerateKubeadmConfig struct + IsInitConfiguration bool + WithSecurityEnhancement bool + func (g *GenerateKubeadmConfig) Execute(runtime connector.Runtime) error + type GenerateKubeletEnv struct + func (g *GenerateKubeletEnv) Execute(runtime connector.Runtime) error + type GetClusterStatus struct + func (g *GetClusterStatus) Execute(runtime connector.Runtime) error + type InitKubernetesModule struct + func (i *InitKubernetesModule) Init() + type InstallKubeBinariesModule struct + func (i *InstallKubeBinariesModule) Init() + type JoinNode struct + func (j *JoinNode) Execute(runtime connector.Runtime) error + type JoinNodesModule struct + func (j *JoinNodesModule) Init() + type KubeadmInit struct + func (k *KubeadmInit) Execute(runtime connector.Runtime) error + type KubeadmReset struct + func (k *KubeadmReset) Execute(runtime connector.Runtime) error + type KubeadmUpgrade struct + func (k *KubeadmUpgrade) Execute(runtime connector.Runtime) error + type KubectlDeleteNode struct + func (k *KubectlDeleteNode) Execute(runtime connector.Runtime) error + type KubernetesStatus struct + BootstrapToken string + CertificateKey string + ClusterInfo string + KubeConfig string + NodesInfo map[string]string + Version string + func NewKubernetesStatus() *KubernetesStatus + func (k *KubernetesStatus) LoadKubeConfig(runtime connector.Runtime, kubeConf *common.KubeConf) error + func (k *KubernetesStatus) SearchClusterInfo(runtime connector.Runtime) error + func (k *KubernetesStatus) SearchJoinInfo(runtime connector.Runtime) error + func (k *KubernetesStatus) SearchKubeConfig(runtime connector.Runtime) error + func (k *KubernetesStatus) SearchNodesInfo(_ connector.Runtime) error + func (k *KubernetesStatus) SearchVersion(runtime connector.Runtime) error + type MasterSecurityEnhancemenAction struct + ModuleName string + func (k *MasterSecurityEnhancemenAction) Execute(runtime connector.Runtime) error + type NoClusterInfo struct + func (n *NoClusterInfo) PreCheck(_ connector.Runtime) (bool, error) + type NodeInCluster struct + Not bool + func (n *NodeInCluster) PreCheck(runtime connector.Runtime) (bool, error) + type NodesSecurityEnhancemenAction struct + ModuleName string + func (n *NodesSecurityEnhancemenAction) Execute(runtime connector.Runtime) error + type NotEqualDesiredVersion struct + func (n *NotEqualDesiredVersion) PreCheck(runtime connector.Runtime) (bool, error) + type NotEqualPlanVersion struct + func (n *NotEqualPlanVersion) PreCheck(runtime connector.Runtime) (bool, error) + type ProgressiveUpgradeModule struct + Step UpgradeStep + func (p *ProgressiveUpgradeModule) Init() + func (p *ProgressiveUpgradeModule) Until() (*bool, error) + type ReconfigureDNS struct + ModuleName string + func (r *ReconfigureDNS) Execute(runtime connector.Runtime) error + type RemoveMasterTaint struct + func (r *RemoveMasterTaint) Execute(runtime connector.Runtime) error + type ResetClusterModule struct + func (r *ResetClusterModule) Init() + type SaveKubeConfig struct + func (s *SaveKubeConfig) Execute(runtime connector.Runtime) error + type SaveKubeConfigModule struct + func (s *SaveKubeConfigModule) Init() + type SecurityEnhancementModule struct + Skip bool + func (s *SecurityEnhancementModule) Init() + func (s *SecurityEnhancementModule) IsSkip() bool + type SetCurrentK8sVersion struct + func (s *SetCurrentK8sVersion) Execute(_ connector.Runtime) error + type SetUpgradePlan struct + Step UpgradeStep + func (s *SetUpgradePlan) Execute(_ connector.Runtime) error + type SetUpgradePlanModule struct + Step UpgradeStep + func (s *SetUpgradePlanModule) Init() + type StatusModule struct + func (k *StatusModule) Init() + type SyncKubeBinary struct + func (i *SyncKubeBinary) Execute(runtime connector.Runtime) error + type SyncKubeConfigToWorker struct + func (s *SyncKubeConfigToWorker) Execute(runtime connector.Runtime) error + type SyncKubelet struct + func (s *SyncKubelet) Execute(runtime connector.Runtime) error + type UpgradeKubeMaster struct + ModuleName string + func (u *UpgradeKubeMaster) Execute(runtime connector.Runtime) error + type UpgradeKubeWorker struct + ModuleName string + func (u *UpgradeKubeWorker) Execute(runtime connector.Runtime) error + type UpgradeStep int + const ToV121 + const ToV122 + func (u UpgradeStep) String() string Other modules containing this package github.com/kubesphere/kubekey