diff --git a/pkg/kwrapper/k8s/k3s_linux.go b/pkg/kwrapper/k8s/k3s_linux.go index c6f9ee38..e6adfea1 100644 --- a/pkg/kwrapper/k8s/k3s_linux.go +++ b/pkg/kwrapper/k8s/k3s_linux.go @@ -48,6 +48,7 @@ func k3sServer(ctx context.Context, endpoints []string) (string, error) { "--no-deploy=metrics-server", "--no-deploy=local-storage", "--node-name=local-node", + "--log=./k3s.log", fmt.Sprintf("--datastore-endpoint=%s", strings.Join(endpoints, ","))) cmd.SysProcAttr = &syscall.SysProcAttr{ Pdeathsig: syscall.SIGKILL,