mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-19 23:07:47 -02:30
Move the CRI endpoint setting to kubelet config (#11550)
The `--container-runtime-endpoint` kubelet argument is deprecated in favor of the config file alternative.
This commit is contained in:
@@ -26,6 +26,7 @@ staticPodPath: {{ kube_manifest_dir }}
|
|||||||
cgroupDriver: {{ kubelet_cgroup_driver | default('systemd') }}
|
cgroupDriver: {{ kubelet_cgroup_driver | default('systemd') }}
|
||||||
containerLogMaxFiles: {{ kubelet_logfiles_max_nr }}
|
containerLogMaxFiles: {{ kubelet_logfiles_max_nr }}
|
||||||
containerLogMaxSize: {{ kubelet_logfiles_max_size }}
|
containerLogMaxSize: {{ kubelet_logfiles_max_size }}
|
||||||
|
containerRuntimeEndpoint : {{ cri_socket }}
|
||||||
maxPods: {{ kubelet_max_pods }}
|
maxPods: {{ kubelet_max_pods }}
|
||||||
podPidsLimit: {{ kubelet_pod_pids_limit }}
|
podPidsLimit: {{ kubelet_pod_pids_limit }}
|
||||||
address: {{ kubelet_bind_address }}
|
address: {{ kubelet_bind_address }}
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ KUBELET_HOSTNAME="--hostname-override={{ kube_override_hostname }}"
|
|||||||
--config={{ kube_config_dir }}/kubelet-config.yaml \
|
--config={{ kube_config_dir }}/kubelet-config.yaml \
|
||||||
--kubeconfig={{ kube_config_dir }}/kubelet.conf \
|
--kubeconfig={{ kube_config_dir }}/kubelet.conf \
|
||||||
{# end kubeadm specific settings #}
|
{# end kubeadm specific settings #}
|
||||||
--container-runtime-endpoint={{ cri_socket }} \
|
|
||||||
--runtime-cgroups={{ kubelet_runtime_cgroups }} \
|
--runtime-cgroups={{ kubelet_runtime_cgroups }} \
|
||||||
{% endset %}
|
{% endset %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user