1
0
mirror of https://github.com/rancher/norman.git synced 2025-08-20 00:07:00 +00:00

Disable servicelb and enable scheduler

This commit is contained in:
Darren Shepherd 2019-08-19 14:38:57 -07:00
parent 9c5479f6e5
commit c02886cd48

View File

@ -46,8 +46,8 @@ func k3sServer(ctx context.Context, endpoints []string) (string, error) {
cmd := exec.Command("k3s", "server",
"--no-deploy=traefik",
"--no-deploy=coredns",
"--no-deploy=servicelb",
"--disable-agent",
"--disable-scheduler",
fmt.Sprintf("--storage-endpoint=%s", strings.Join(endpoints, ",")),
"--storage-backend=etcd3")
cmd.SysProcAttr = &syscall.SysProcAttr{