Documentation
¶
Index ¶
- func RebootInstance(ctx context.Context, runner commands.RemoteCommandRunner, instanceIP string) error
- func RunLogCollector(ctx context.Context, runner commands.RemoteCommandRunner, ...) error
- func RunNodeadmUninstall(ctx context.Context, runner commands.RemoteCommandRunner, instanceIP string) error
- func RunNodeadmUpgrade(ctx context.Context, runner commands.RemoteCommandRunner, ...) error
- type CleanNode
- type UninstallVerifier
- type UpgradeNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RebootInstance ¶
func RunLogCollector ¶
func RunNodeadmUninstall ¶
func RunNodeadmUpgrade ¶
Types ¶
type CleanNode ¶
type CleanNode struct { K8s *clientgo.Clientset RemoteCommandRunner commands.RemoteCommandRunner Verifier UninstallVerifier Logger logr.Logger NodeIP string }
CleanNode runs the process to unregister a node from the cluster and uninstall all the installed kubernetes dependencies.
type UninstallVerifier ¶
UninstallVerifier checks if nodeadm uninstall process was successful in a node.
type UpgradeNode ¶
type UpgradeNode struct { K8s *clientgo.Clientset RemoteCommandRunner commands.RemoteCommandRunner Logger logr.Logger NodeIP string TargetK8sVersion string }
UpgradeNode runs the process to upgrade the k8s version in a node in the cluster. This assumes the current node's version meets the version skew policy and it can actually be upgraded to the target version.
Click to show internal directories.
Click to hide internal directories.