update kube-forge concept and add ability to change data dir for containerd
This commit is contained in:
@@ -21,3 +21,9 @@ func ScaleCluster() {
|
||||
runPlaybook("kubespray/project/scale.yml", "")
|
||||
CopyK8SAdminConfig(appConfig.KubeconfigFile)
|
||||
}
|
||||
|
||||
func ResetCluster() {
|
||||
appConfig := config.GetConfig()
|
||||
runPlaybook("kubespray/project/reset.yml", "")
|
||||
CopyK8SAdminConfig(appConfig.KubeconfigFile)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user