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

Please allow to enable auto heps #208

Open
cbarbian-sap opened this issue Aug 26, 2022 · 0 comments
Open

Please allow to enable auto heps #208

cbarbian-sap opened this issue Aug 26, 2022 · 0 comments
Labels
lifecycle/rotten Nobody worked on this for 12 months (final aging stage)

Comments

@cbarbian-sap
Copy link

With recent calico versions you can make calico automatically create HostEndpoint resources for all K8s nodes.
See e.g. https://www.tigera.io/blog/securing-kubernetes-nodes-with-calico-automatic-host-endpoints/ ...
Conveniently, the automatically created host endpoint objects directly come along with a decent default calico Profile, and have the same labels as the node.

This is more or less a prerequisite to harden K8s nodes, because you need HostEndpoints to match hosts with selectors in GlobalNetworkPolicy and NetworkPolicy objects.

Of course, one could maintain the HostEndpoint objects manually or with an own control loop, but that's tedious, resp. nonsense because now calico itself can do it for you through this auto-host-endpoints feature.

@gardener-robot gardener-robot added the lifecycle/stale Nobody worked on this for 6 months (will further age) label May 5, 2023
@gardener-robot gardener-robot added lifecycle/rotten Nobody worked on this for 12 months (final aging stage) and removed lifecycle/stale Nobody worked on this for 6 months (will further age) labels Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/rotten Nobody worked on this for 12 months (final aging stage)
Projects
None yet
Development

No branches or pull requests

2 participants