From 873e99496ee8155b4f3bb6865b2438414a6ea893 Mon Sep 17 00:00:00 2001 From: Brenda Rearden Date: Thu, 30 Jan 2020 16:30:06 -0700 Subject: [PATCH] k3s options update --- pkg/kwrapper/k8s/k3s_linux.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/kwrapper/k8s/k3s_linux.go b/pkg/kwrapper/k8s/k3s_linux.go index 1775d9e63..cf30c9c90 100644 --- a/pkg/kwrapper/k8s/k3s_linux.go +++ b/pkg/kwrapper/k8s/k3s_linux.go @@ -47,9 +47,10 @@ func k3sServer(ctx context.Context, endpoints []string) (string, error) { "--no-deploy=traefik", "--no-deploy=coredns", "--no-deploy=servicelb", + "--no-deploy=metrics-server", + "--no-deploy=local-storage", "--disable-agent", - fmt.Sprintf("--storage-endpoint=%s", strings.Join(endpoints, ",")), - "--storage-backend=etcd3") + fmt.Sprintf("--datastore-endpoint=%s", strings.Join(endpoints, ","))) cmd.SysProcAttr = &syscall.SysProcAttr{ Pdeathsig: syscall.SIGKILL, }