Skip to content

Commit

Permalink
Enable parallel image pulls for kubelet (#377)
Browse files Browse the repository at this point in the history
Signed-off-by: Waleed Malik <ahmedwaleedmalik@gmail.com>
  • Loading branch information
ahmedwaleedmalik committed Apr 18, 2024
1 parent 1469ed7 commit 65d9aa0
Show file tree
Hide file tree
Showing 19 changed files with 58 additions and 6 deletions.
4 changes: 4 additions & 0 deletions deploy/osps/default/osp-amzn2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,10 @@ spec:
staticPodPath: /etc/kubernetes/manifests
streamingConnectionIdleTimeout: 0s
syncFrequency: 0s
# Enable parallel image pulling.
serializeImagePulls: false
# Set max parallel image pulls to 10.
maxParallelImagePulls: 10
kubeReserved:
{{- if .KubeReserved -}}
{{ range $key, $val := .KubeReserved }}
Expand Down
4 changes: 4 additions & 0 deletions deploy/osps/default/osp-centos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -762,6 +762,10 @@ spec:
staticPodPath: /etc/kubernetes/manifests
streamingConnectionIdleTimeout: 0s
syncFrequency: 0s
# Enable parallel image pulling.
serializeImagePulls: false
# Set max parallel image pulls to 10.
maxParallelImagePulls: 10
kubeReserved:
{{- if .KubeReserved -}}
{{ range $key, $val := .KubeReserved }}
Expand Down
4 changes: 4 additions & 0 deletions deploy/osps/default/osp-flatcar-cloud-init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,10 @@ spec:
staticPodPath: /etc/kubernetes/manifests
streamingConnectionIdleTimeout: 0s
syncFrequency: 0s
# Enable parallel image pulling.
serializeImagePulls: false
# Set max parallel image pulls to 10.
maxParallelImagePulls: 10
kubeReserved:
{{- if .KubeReserved -}}
{{ range $key, $val := .KubeReserved }}
Expand Down
4 changes: 4 additions & 0 deletions deploy/osps/default/osp-flatcar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,10 @@ spec:
staticPodPath: /etc/kubernetes/manifests
streamingConnectionIdleTimeout: 0s
syncFrequency: 0s
# Enable parallel image pulling.
serializeImagePulls: false
# Set max parallel image pulls to 10.
maxParallelImagePulls: 10
kubeReserved:
{{- if .KubeReserved -}}
{{ range $key, $val := .KubeReserved }}
Expand Down
4 changes: 4 additions & 0 deletions deploy/osps/default/osp-rhel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,10 @@ spec:
staticPodPath: /etc/kubernetes/manifests
streamingConnectionIdleTimeout: 0s
syncFrequency: 0s
# Enable parallel image pulling.
serializeImagePulls: false
# Set max parallel image pulls to 10.
maxParallelImagePulls: 10
kubeReserved:
{{- if .KubeReserved -}}
{{ range $key, $val := .KubeReserved }}
Expand Down
4 changes: 4 additions & 0 deletions deploy/osps/default/osp-rockylinux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,10 @@ spec:
staticPodPath: /etc/kubernetes/manifests
streamingConnectionIdleTimeout: 0s
syncFrequency: 0s
# Enable parallel image pulling.
serializeImagePulls: false
# Set max parallel image pulls to 10.
maxParallelImagePulls: 10
kubeReserved:
{{- if .KubeReserved -}}
{{ range $key, $val := .KubeReserved }}
Expand Down
4 changes: 4 additions & 0 deletions deploy/osps/default/osp-ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,10 @@ spec:
staticPodPath: /etc/kubernetes/manifests
streamingConnectionIdleTimeout: 0s
syncFrequency: 0s
# Enable parallel image pulling.
serializeImagePulls: false
# Set max parallel image pulls to 10.
maxParallelImagePulls: 10
kubeReserved:
{{- if .KubeReserved -}}
{{ range $key, $val := .KubeReserved }}
Expand Down
4 changes: 4 additions & 0 deletions pkg/controllers/osc/testdata/osc-flatcar-aws-containerd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,10 @@ spec:
staticPodPath: /etc/kubernetes/manifests
streamingConnectionIdleTimeout: 0s
syncFrequency: 0s
# Enable parallel image pulling.
serializeImagePulls: false
# Set max parallel image pulls to 10.
maxParallelImagePulls: 10
kubeReserved:
cpu: 200m
ephemeral-storage: 1Gi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,10 @@ spec:
staticPodPath: /etc/kubernetes/manifests
streamingConnectionIdleTimeout: 0s
syncFrequency: 0s
# Enable parallel image pulling.
serializeImagePulls: false
# Set max parallel image pulls to 10.
maxParallelImagePulls: 10
kubeReserved:
cpu: 30m
ephemeral-storage: 30Gi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,10 @@ spec:
staticPodPath: /etc/kubernetes/manifests
streamingConnectionIdleTimeout: 0s
syncFrequency: 0s
# Enable parallel image pulling.
serializeImagePulls: false
# Set max parallel image pulls to 10.
maxParallelImagePulls: 10
kubeReserved:
cpu: 200m
ephemeral-storage: 1Gi
Expand Down
4 changes: 4 additions & 0 deletions pkg/controllers/osc/testdata/osc-ubuntu-aws-containerd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,10 @@ spec:
staticPodPath: /etc/kubernetes/manifests
streamingConnectionIdleTimeout: 0s
syncFrequency: 0s
# Enable parallel image pulling.
serializeImagePulls: false
# Set max parallel image pulls to 10.
maxParallelImagePulls: 10
kubeReserved:
cpu: 200m
ephemeral-storage: 1Gi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,10 @@ spec:
staticPodPath: /etc/kubernetes/manifests
streamingConnectionIdleTimeout: 0s
syncFrequency: 0s
# Enable parallel image pulling.
serializeImagePulls: false
# Set max parallel image pulls to 10.
maxParallelImagePulls: 10
kubeReserved:
cpu: 200m
ephemeral-storage: 1Gi
Expand Down
4 changes: 4 additions & 0 deletions pkg/controllers/osc/testdata/osc-ubuntu-aws-dualstack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,10 @@ spec:
staticPodPath: /etc/kubernetes/manifests
streamingConnectionIdleTimeout: 0s
syncFrequency: 0s
# Enable parallel image pulling.
serializeImagePulls: false
# Set max parallel image pulls to 10.
maxParallelImagePulls: 10
kubeReserved:
cpu: 200m
ephemeral-storage: 1Gi
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 65d9aa0

Please sign in to comment.