Updated init container port range to avoid port confilict.
We need to udpate the port range to make sure it does not confilict with either Kubernetes NodePort or default ephemeral port.
This commit is contained in:
parent
d8efd39694
commit
653db76cf3
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ spec:
|
|||
- command:
|
||||
- sh
|
||||
- -c
|
||||
- sysctl -w net.core.somaxconn=32768; sysctl -w net.ipv4.ip_local_port_range="1024 65535"
|
||||
- sysctl -w net.core.somaxconn=32768; sysctl -w net.ipv4.ip_local_port_range="32768 65535"
|
||||
image: alpine:3.6
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: sysctl
|
||||
|
|
|
@ -20,7 +20,7 @@ spec:
|
|||
- command:
|
||||
- sh
|
||||
- -c
|
||||
- sysctl -w net.core.somaxconn=32768; sysctl -w net.ipv4.ip_local_port_range="1024 65535"
|
||||
- sysctl -w net.core.somaxconn=32768; sysctl -w net.ipv4.ip_local_port_range="32768 65535"
|
||||
image: alpine:3.6
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: sysctl
|
||||
|
|
Loading…
Reference in a new issue