Skip to content

Calico states the default network policy is to "deny" and yet RKE2's Calico behavior differs #6821

Answered by brandond
jskillin-idt asked this question in Q&A
Discussion options

You must be logged in to vote

Calico blocks all traffic to/from workload interfaces by default; allowing traffic only if the interface is known and policy is in place.
However, for host endpoints, Calico is more lenient; it only polices traffic to/from interfaces that it's been explicitly told about. Traffic to/from other interfaces is left alone.

Does Calico protect a local host from workloads?
Yes. DefaultEndpointToHostAction controls whether or not workloads can access their local host.

Does Calico protect a workload from the host it is running on?
No. Calico allows connections the host makes to the workloads running on that host. Some orchestrators like Kubernetes depend on this connectivity for health checki…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@brandond
Comment options

Answer selected by brandond
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants