Skip to content

Commit

Permalink
kubernetes-1.20: constrain ip_local_port_range
Browse files Browse the repository at this point in the history
Constrains ephemeral ports for k8s-1.20 variants
  • Loading branch information
etungsten committed Apr 23, 2021
1 parent 40b4d4f commit 7b5e0a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/kubernetes-1.20/kubelet-sysctl.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Overcommit handling mode - 1: Always overcommit
vm.overcommit_memory = 1

# This is generally considered a safe ephemeral port range
net.ipv4.ip_local_port_range = 32768 60999

0 comments on commit 7b5e0a8

Please sign in to comment.