2

I'd like to add special sysctl values for an autoscaling Google Container Engine group, like nf_conntrack_max and tcp_max_syn_backlog (we run a high volume web service.) Is there a way to do this easily? I thought i'd be able to modify the startup-script in the instance template, but everything seems hardcoded.

joshk0
  • 2,504
  • 2
  • 25
  • 35

1 Answers1

0

You cannot modify the startup script in Google Container Engine, as it is used to configure docker and Kubernetes on the nodes. Your best bet is to log into each node after they have been provisioned and edit the values manually.

Robert Bailey
  • 16,541
  • 2
  • 46
  • 52
  • After upgrading to K8S 1.6 setting sysctl on the nodes is no longer possible. Is there a new way to do this? – devth Apr 17 '17 at 14:21
  • 1
    I believe you are affected by a known issue in 1.6.0 and 1.6.1 which is resolved in 1.6.2. See https://github.com/kubernetes/contrib/issues/2538#issuecomment-293326859 – Robert Bailey Apr 19 '17 at 22:40