You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently struggling to setup my K8s cluster, while applying firewall configuration.
Expected Behavior
failsafeInboundHostPorts is controllable in the default config.
Current Behavior
root@k8s-controlplane-1:~# kubectl calico apply -f felix-config.yaml
Failed to execute command: error parsing document: cannot parse string '' into field FelixConfigurationSpec.failsafeInboundHostPorts of type []v3.ProtoPort
root@k8s-controlplane-1:~#
Possible Solution
unknown
Steps to Reproduce (for bugs)
Initial installation of my cluster on the first control plane node:
I'm currently struggling to setup my K8s cluster, while applying firewall configuration.
Expected Behavior
failsafeInboundHostPorts is controllable in the default config.
Current Behavior
Possible Solution
unknown
Steps to Reproduce (for bugs)
Initial installation of my cluster on the first control plane node:
After that, I try to update the felix configuration to disable especially port 22.
However any value I tested in
FailsafeInboundHostPorts
fails with the same error message:Tested the following strings:
tcp:<vpn-ip>/32:22,tcp:<vpn-ip>/32:22,udp:68,tcp:179,tcp:2379,tcp:2380,tcp:5473,tcp:6443,tcp:6666,tcp:6667
tcp:22
22:tcp
17:22
22:17
tcp:22,udp:68,tcp:179,tcp:2379,tcp:2380,tcp:5473,tcp:6443,tcp:6666,tcp:6667
Context
I'm trying to implement a firewall on the K8s-Workers to filter out any other host traffic. All traffic is running over public IP space. Therefore
At least Port 22 shall be blocked.
My K8s hosts are all inside public networks, so I need to restrict the traffic. They're interconnected via WireGuard.
Your Environment
--version v3.29.2
The text was updated successfully, but these errors were encountered: