diff --git a/kubelet.go b/kubelet.go index ad278af..dbcb129 100644 --- a/kubelet.go +++ b/kubelet.go @@ -253,6 +253,7 @@ func kubeletConfigCreate(certificatesDir string) error { Mode: "Webhook", }, CgroupDriver: "systemd", + ResolverConfig: "/run/systemd/resolve/resolv.conf", ClusterDNS: []string{"10.96.0.10"}, ClusterDomain: "cluster.local", HealthzBindAddress: "127.0.0.1", diff --git a/main.go b/main.go index 68fb817..f20a1b3 100644 --- a/main.go +++ b/main.go @@ -8,7 +8,7 @@ import ( ) // AppVersion current build application version. -const AppVersion = "0.0.16" +const AppVersion = "0.0.17" func main() { var (