Kubernetes 网络策略中的 DNSSelector 支持

DNSSelector support in Kubernetes Network policy

我正在尝试根据域名在我的应用程序中实施 Kubernetes 网络策略,以控制对 pod 的 Egress 和 Ingress 调用。我发现 DNSSelector but it seems from there last comment that this feature is not implemented in Kubernetes.
I explored calico also, but in calico this feature comes under calico-enterprise 因此它已付款。有人可以告诉我是否有其他方法可以实现此目的,或者 DNSSelector 现在是否正在 Kubernetes 中实施?

这是一个社区维基答案。随意扩展它。

不幸的是,DNSSelector 尚未在 Kubernetes 中实现(也未实现)。

Calico Enterprise支持此类功能,如果您愿意付费。