More changes to try to fix coredns.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
let
|
||||
# shellCommand = cmd: (lib.concatMapStringsSep " " lib.strings.escapeShellArg cmd);
|
||||
shellCommand = cmd: (builtins.concatStringsSep " " cmd);
|
||||
to_yaml_file = ((import ../../../functions/to_yaml.nix) { inherit pkgs; }).to_yaml_file;
|
||||
to_yaml_file = ((import ../../functions/to_yaml.nix) { inherit pkgs; }).to_yaml_file;
|
||||
|
||||
kubelet_config = {
|
||||
kind = "KubeletConfiguration";
|
||||
@@ -37,17 +37,16 @@ let
|
||||
swapBehavior = "NoSwap";
|
||||
};
|
||||
port = 10250;
|
||||
# resolvConf = "/run/systemd/resolve/resolv.conf";
|
||||
resolvConf = "${./files/resolv.conf}";
|
||||
resolvConf = "/run/systemd/resolve/resolv.conf";
|
||||
registerNode = true;
|
||||
runtimeRequestTimeout = "15m";
|
||||
tlsCertFile = "/.persist/keys/kube/kubelet.crt";
|
||||
tlsPrivateKeyFile = "/.persist/keys/kube/kubelet.key";
|
||||
# clusterDomain = "cluster.local";
|
||||
# clusterDNS = [
|
||||
# "10.197.0.10"
|
||||
# "fd00:3e42:e349::10"
|
||||
# ];
|
||||
clusterDomain = "cluster.local";
|
||||
clusterDNS = [
|
||||
"10.197.0.10"
|
||||
"fd00:3e42:e349::10"
|
||||
];
|
||||
};
|
||||
kubelet_config_file = (to_yaml_file "kubelet-config.yaml" kubelet_config);
|
||||
in
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
nameserver 127.0.0.53
|
||||
Reference in New Issue
Block a user