1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-17 15:49:53 +00:00

k3s disable agent removal

This commit is contained in:
Caleb Bron
2020-08-14 17:47:47 -07:00
parent ea785e633e
commit 0814837e93

View File

@@ -48,7 +48,6 @@ func k3sServer(ctx context.Context, endpoints []string) (string, error) {
"--no-deploy=servicelb", "--no-deploy=servicelb",
"--no-deploy=metrics-server", "--no-deploy=metrics-server",
"--no-deploy=local-storage", "--no-deploy=local-storage",
"--disable-agent",
fmt.Sprintf("--datastore-endpoint=%s", strings.Join(endpoints, ","))) fmt.Sprintf("--datastore-endpoint=%s", strings.Join(endpoints, ",")))
cmd.SysProcAttr = &syscall.SysProcAttr{ cmd.SysProcAttr = &syscall.SysProcAttr{
Pdeathsig: syscall.SIGKILL, Pdeathsig: syscall.SIGKILL,