fix kubelet data dir setting

This commit is contained in:
2024-12-14 22:33:46 +03:00
parent 4294f52703
commit e2dabc8728
5 changed files with 9 additions and 9 deletions

View File

@@ -134,6 +134,3 @@ unsafe_show_logs: false
## If enabled it will allow kubespray to attempt setup even if the distribution is not supported. For unsupported distributions this can lead to unexpected failures in some cases.
allow_unsupported_distribution_setup: false
## Kubelet additional settings
kubelet_custom_flags: "--root-dir={{ .Orchestrator.KubeletDir }}"

View File

@@ -451,3 +451,7 @@ kubeadm_patches:
enabled: false
source_dir: {{ `"{{ inventory_dir }}/patches"` }}
dest_dir: {{ `"{{ kube_config_dir }}/patches"` }}
## Kubelet additional settings
kubelet_custom_flags:
- "--root-dir={{ .Orchestrator.KubeletDir }}"