mirror of
https://github.com/kubesphere/kubekey.git
synced 2025-12-26 01:22:51 +00:00
feat: move the preInstall step ahead in the add node pipeline
This commit is contained in:
parent
7db9ae6fb8
commit
5ec551a292
|
|
@ -46,13 +46,13 @@ func NewAddNodesPipeline(runtime *common.KubeRuntime) error {
|
|||
|
||||
m := []module.Module{
|
||||
&precheck.GreetingsModule{},
|
||||
&customscripts.CustomScriptsModule{Phase: "PreInstall", Scripts: runtime.Cluster.System.PreInstall},
|
||||
&precheck.NodePreCheckModule{},
|
||||
&confirm.InstallConfirmModule{},
|
||||
&artifact.UnArchiveModule{Skip: noArtifact},
|
||||
&os.RepositoryModule{Skip: noArtifact || !runtime.Arg.InstallPackages},
|
||||
&binaries.NodeBinariesModule{},
|
||||
&os.ConfigureOSModule{Skip: runtime.Cluster.System.SkipConfigureOS},
|
||||
&customscripts.CustomScriptsModule{Phase: "PreInstall", Scripts: runtime.Cluster.System.PreInstall},
|
||||
®istry.RegistryCertsModule{Skip: len(runtime.GetHostsByRole(common.Registry)) == 0},
|
||||
//for one master to multi master kube-vip
|
||||
&loadbalancer.KubevipModule{Skip: !runtime.Cluster.ControlPlaneEndpoint.IsInternalLBEnabledVip()},
|
||||
|
|
|
|||
Loading…
Reference in New Issue