How do i blacklist a domain name from kubernetes

2/1/2020

I want to make sure my kubernetes cluster doesnt talk to a specific domain name (*.domain.tld). How can I blacklist it?

Thanks

-- fotoflo
firewall
google-kubernetes-engine
kubernetes

1 Answer

2/1/2020

You should be looking into Network Policies but I think only IP's can be blocked not domains.

I think this might be achievable with istio and policy enforcement, this is explained at Denials and White/Black Listing.

You can also check out this Stack question IP Blacklisting in Istio.

-- Spook
Source: StackOverflow