fix: move apiserver port to standard 6443 on (new) ekman
This commit is contained in:
@@ -183,7 +183,7 @@ in
|
|||||||
};
|
};
|
||||||
defaultGateway = "10.255.242.1";
|
defaultGateway = "10.255.242.1";
|
||||||
firewall = {
|
firewall = {
|
||||||
allowedTCPPorts = [ 4443 ];
|
allowedTCPPorts = [ 6443 ];
|
||||||
extraCommands = ''
|
extraCommands = ''
|
||||||
# needed for nodeport access on k1 and k2
|
# needed for nodeport access on k1 and k2
|
||||||
# iptables -t nat -A POSTROUTING -s 10.255.241.0/24 ! -d 10.255.0.0/16 -j SNAT --to-source 10.255.242.2
|
# iptables -t nat -A POSTROUTING -s 10.255.241.0/24 ! -d 10.255.0.0/16 -j SNAT --to-source 10.255.242.2
|
||||||
|
|||||||
@@ -219,7 +219,7 @@ in {
|
|||||||
};
|
};
|
||||||
defaultGateway = "10.255.242.1";
|
defaultGateway = "10.255.242.1";
|
||||||
firewall = {
|
firewall = {
|
||||||
allowedTCPPorts = [ 4443 4725 ];
|
allowedTCPPorts = [ 6443 4725 ];
|
||||||
extraCommands = ''
|
extraCommands = ''
|
||||||
# needed for nodeport access on k1 and k2
|
# needed for nodeport access on k1 and k2
|
||||||
# iptables -t nat -A POSTROUTING -s 10.255.241.0/24 ! -d 10.255.0.0/16 -j SNAT --to-source 10.255.242.3
|
# iptables -t nat -A POSTROUTING -s 10.255.241.0/24 ! -d 10.255.0.0/16 -j SNAT --to-source 10.255.242.3
|
||||||
|
|||||||
Reference in New Issue
Block a user