Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

Commit 72eb4d1

Browse files
authored
fix #5150, serialize image pulls issue. (#5768)
Signed-off-by: siaimes <34199488+siaimes@users.noreply.github.com>
1 parent e41df9f commit 72eb4d1

4 files changed

Lines changed: 20 additions & 1 deletion

File tree

contrib/kubespray/config/config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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
#######################################################################

contrib/kubespray/quick-start/openpai.yml.template

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff 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 %}

docs/manual/cluster-admin/installation-guide.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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
#######################################################################

docs_zh_CN/manual/cluster-admin/installation-guide.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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
#######################################################################

0 commit comments

Comments
 (0)