Move the kubelet yaml config into nix.
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
kind: KubeletConfiguration
|
||||
apiVersion: kubelet.config.k8s.io/v1beta1
|
||||
address: "0.0.0.0"
|
||||
authentication:
|
||||
anonymous:
|
||||
enabled: false
|
||||
webhook:
|
||||
enabled: true
|
||||
x509:
|
||||
clientCAFile: "/.persist/keys/kube/ca.crt"
|
||||
authorization:
|
||||
mode: Webhook
|
||||
cgroupDriver: systemd
|
||||
containerRuntimeEndpoint: "unix:///var/run/containerd/containerd.sock"
|
||||
enableServer: true
|
||||
failSwapOn: false
|
||||
maxPods: 16
|
||||
memorySwap:
|
||||
swapBehavior: NoSwap
|
||||
port: 10250
|
||||
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"
|
||||
1
nix/kubernetes/roles/kubelet/files/resolv.conf
Normal file
1
nix/kubernetes/roles/kubelet/files/resolv.conf
Normal file
@@ -0,0 +1 @@
|
||||
nameserver 127.0.0.53
|
||||
Reference in New Issue
Block a user