Skip to content

Commit

Permalink
Merge pull request kubernetes-retired#711 from danielfm/remove-conntr…
Browse files Browse the repository at this point in the history
…ack-override

Remove unused sysctl override for nf_conntrack_max
  • Loading branch information
redbaron authored Jun 21, 2017
2 parents 9735231 + 7e5a2a1 commit 2348073
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 33 deletions.
16 changes: 0 additions & 16 deletions core/controlplane/config/templates/cloud-config-controller
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,6 @@ coreos:
ExecStartPre=/opt/bin/cfn-etcd-environment
ExecStart=/usr/bin/mv -f /var/run/coreos/etcd-environment /etc/etcd-environment

{{if .UseCalico }}
# https://github.com/coreos/docs/blob/5d7b1cccb8286185275b07db1495828be9fdb0ea/os/other-settings.md#tuning-sysctl-parameters
- name: systemd-modules-load.service
command: restart
- name: systemd-sysctl.service
command: restart
{{ end }}

{{if .Experimental.AwsEnvironment.Enabled}}
- name: set-aws-environment.service
enable: true
Expand Down Expand Up @@ -2163,14 +2155,6 @@ write_files:
}
}

# http://docs.projectcalico.org/v2.0/usage/configuration/
- path: /etc/modules-load.d/nf.conf
content: |
nf_conntrack
- path: /etc/sysctl.d/nf.conf
content: |
net.netfilter.nf_conntrack_max=1000000

{{ end }}

{{if .Experimental.Authentication.Webhook.Enabled}}
Expand Down
17 changes: 0 additions & 17 deletions core/controlplane/config/templates/cloud-config-worker
Original file line number Diff line number Diff line change
Expand Up @@ -249,14 +249,6 @@ coreos:
RequiredBy=rkt-api.service
{{ end }}

{{if .UseCalico }}
# https://github.com/coreos/docs/blob/5d7b1cccb8286185275b07db1495828be9fdb0ea/os/other-settings.md#tuning-sysctl-parameters
- name: systemd-modules-load.service
command: restart
- name: systemd-sysctl.service
command: restart
{{ end }}

{{if .AwsEnvironment.Enabled}}
- name: set-aws-environment.service
enable: true
Expand Down Expand Up @@ -853,15 +845,6 @@ write_files:
}
}
}

# http://docs.projectcalico.org/v2.0/usage/configuration/
- path: /etc/modules-load.d/nf.conf
content: |
nf_conntrack
- path: /etc/sysctl.d/nf.conf
content: |
net.netfilter.nf_conntrack_max=1000000

{{ end }}

{{ if and .Experimental.TLSBootstrap.Enabled .AssetsConfig.HasTLSBootstrapToken }}
Expand Down

0 comments on commit 2348073

Please sign in to comment.