I have an application running with kubernetes orchestrator. I want to implement calico network policy based on domain name or wildcard characters so that domain names (FQDN
/DNS
) can be used to allow access from a pod or set of pods (via label selector).
I came across calico doc which says the same thing, but not sure if this is free or paid ? Can someone confirm this? also where I can get example of this?
DNS policy is a paid feature since it's a part of Calico Enterprise and Calico Cloud. You can check this here.
Full comparison of features between open source calico, cloud and enterprise
As for examples, it's often very difficult to find working examples for paid products, however I managed to find simple example of how it will look like:
Link to this example above in Calico github
Idea is to not allow any egress traffic to any domains, but google.com
It's shown how it should work in the example.