This repository was archived by the owner on Jun 6, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
docs_zh_CN/manual/cluster-admin
docs/manual/cluster-admin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,6 +84,10 @@ docker_image_tag: v1.8.1
8484# key: value
8585# key: value
8686
87+ # Ref: https://github.com/microsoft/pai/issues/5150
88+ # kubelet_custom_flags:
89+ # serialize-image-pulls: "false"
90+
8791# ######################################################################
8892# host daemon port setting #
8993# ######################################################################
Original file line number Diff line number Diff line change @@ -410,4 +410,11 @@ kube_network_plugin: {{ env["cfg"]['openpai_kube_network_plugin'] | default('cal
410410{% for key in env['cfg']['openpai_kubespray_extra_var'] %}
411411{{ key }}: "{{ env['cfg']['openpai_kubespray_extra_var'][key] }}"
412412{% endfor %}
413- {%- endif %}
413+ {%- endif %}
414+
415+ {%- if 'kubelet_custom_flags' in env['cfg'] %}
416+ kubelet_custom_flags:
417+ {%- for key in env['cfg']['kubelet_custom_flags'] %}
418+ - "--{{ key }}={{ env['cfg']['kubelet_custom_flags'][key] }}"
419+ {%- endfor %}
420+ {%- endif %}
Original file line number Diff line number Diff line change @@ -305,6 +305,10 @@ docker_image_tag: v1.8.1
305305# key: value
306306# key: value
307307
308+ # Ref: https://github.com/microsoft/pai/issues/5150
309+ # kubelet_custom_flags:
310+ # serialize-image-pulls: "false"
311+
308312#######################################################################
309313# host daemon port setting #
310314#######################################################################
Original file line number Diff line number Diff line change @@ -296,6 +296,10 @@ docker_image_tag: v1.8.1
296296# key: value
297297# key: value
298298
299+ # Ref: https://github.com/microsoft/pai/issues/5150
300+ # kubelet_custom_flags:
301+ # serialize-image-pulls: "false"
302+
299303#######################################################################
300304# host daemon port setting #
301305#######################################################################
You can’t perform that action at this time.
0 commit comments