Skip to content

Commit

Permalink
Merge pull request #319 from EleanorRigby/ta-tcpLimit
Browse files Browse the repository at this point in the history
Increase Bandwidth for TCP to 1MB on Photon OS
  • Loading branch information
k8s-ci-robot authored Aug 10, 2020
2 parents eafe59d + 73c16f1 commit 87027ff
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion images/capi/ansible/roles/node/tasks/photon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,13 @@
dest: /etc/audit/rules.d/containerd.rules
owner: root
group: root
mode: 0644
mode: 0644

- name: Ensure Bandwidth for TCP connections should 1 Mb (same as Ubuntu)
sysctl:
name: net.ipv4.tcp_limit_output_bytes
value: "1048576"
state: present
sysctl_set: yes
reload: yes
sysctl_file: "{{ sysctl_conf_file }}"

0 comments on commit 87027ff

Please sign in to comment.