From 014f4fa39423ef74ed10b6ca3d20764fb08bf931 Mon Sep 17 00:00:00 2001 From: Caleb Bron Date: Mon, 7 Sep 2020 09:37:10 -0700 Subject: [PATCH] Enable coredns in k3s Without this the rancher run docker container has no DNS server. --- pkg/kwrapper/k8s/k3s_linux.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/kwrapper/k8s/k3s_linux.go b/pkg/kwrapper/k8s/k3s_linux.go index ba4ca9ed..8f7db8a6 100644 --- a/pkg/kwrapper/k8s/k3s_linux.go +++ b/pkg/kwrapper/k8s/k3s_linux.go @@ -44,7 +44,6 @@ func getEmbedded(ctx context.Context) (bool, clientcmd.ClientConfig, error) { func k3sServer(ctx context.Context, endpoints []string) (string, error) { cmd := exec.Command("k3s", "server", "--no-deploy=traefik", - "--no-deploy=coredns", "--no-deploy=servicelb", "--no-deploy=metrics-server", "--no-deploy=local-storage",