Skip to content
Snippets Groups Projects
Unverified Commit e4d94558 authored by hbc's avatar hbc Committed by GitHub
Browse files

cfg: add `/etc/default/kubeletconfig.json` for AKS (#865)


* cfg: add `/etc/default/kubeletconfig.json`

* fix(cfg): search kubeletconfig.json first

* feat: mount `/etc/default` from host for AKS cluster

Co-authored-by: default avatarYoav Rotem <yoavrotems97@gmail.com>
parent 47c24947
No related branches found
No related tags found
No related merge requests found
......@@ -147,6 +147,7 @@ node:
- "/etc/kubernetes/kubelet/kubelet-config.json"
- "/home/kubernetes/kubelet-config.yaml"
- "/home/kubernetes/kubelet-config.yml"
- "/etc/default/kubeletconfig.json"
- "/etc/default/kubelet"
- "/var/lib/kubelet/kubeconfig"
- "/var/snap/kubelet/current/args"
......
......@@ -18,6 +18,9 @@ spec:
- name: etc-systemd
mountPath: /etc/systemd
readOnly: true
- name: etc-default
mountPath: /etc/default
readOnly: true
- name: etc-kubernetes
mountPath: /etc/kubernetes
readOnly: true
......@@ -29,6 +32,9 @@ spec:
- name: etc-systemd
hostPath:
path: "/etc/systemd"
- name: etc-default
hostPath:
path: "/etc/default"
- name: etc-kubernetes
hostPath:
path: "/etc/kubernetes"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment