Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement preDNAT support in GNP to achieve calico-vpp to calico parity #692

Open
anaperic opened this issue Apr 9, 2024 · 0 comments
Open

Comments

@anaperic
Copy link

anaperic commented Apr 9, 2024

Is your feature request related to a problem? Please describe.
At the moment preDNAT is not supported for GlobalNetworkPolicy object. This is one of the features that still do not have parity compared to Calico. All the GlobalNetworkPolicy objects that have preDNAT=true setup for now will be ignored as per:

There are situations where preDNAT support would be needed, especially in the cases where one would need to achieve adequate protection of k8s nodes (HostEndpoints).
Moreover, allowing GNP to have preDNAT=true will bring calico-vpp dp one step closer to the full parity to the feature set Calico would be using.

If we take a look at Calico recommendations when it comes to the node protection itself, preDNAT=true is a clear recommendation.

Describe the solution you'd like
agent should process preDNAT=true and not ignore the gnp w/ quite not clear err messages. One should be able to have the feature parity when it comes to preDNAT gnp config.

Describe alternatives you've considered

At the moment we do not see the way how to make the parity in the configuration that requres us to use in some places calico, the other calico-vpp and at the same protect the access from public locations towards restricted ports towards the k8s nodes, w/o having preDNAT=true supportet on calico-vpp side.

Additional context
Talked to @sknat - decided to file this as a feature request to achieve the parity. We do understand that the preDNAT may add additional latency/lookups, but at the same time the value of achieving in this case the parity w/ Calico is something we would prefer to see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant