17 lines
455 B
Go
17 lines
455 B
Go
package kubespray
|
|
|
|
func InstallCluster(tags string) {
|
|
playbookConfig := getPlaybookParameters(tags)
|
|
runPlaybook("kubespray/project/cluster.yml", playbookConfig)
|
|
}
|
|
|
|
func UpgradeCluster(tags string) {
|
|
playbookConfig := getPlaybookParameters(tags)
|
|
runPlaybook("kubespray/project/upgrade_cluster.yml", playbookConfig)
|
|
}
|
|
|
|
func ResetCluster() {
|
|
playbookConfig := getPlaybookParameters("reset")
|
|
runPlaybook("kubespray/project/reset.yml", playbookConfig)
|
|
}
|