Home / Companies / Qovery / Blog / Post Details
Content Deep Dive

Kubernetes - Network isolation with NetworkPolicy

Blog post from Qovery

Post Details
Company
Date Published
Author
Pierre Mavro
Word Count
553
Company Posts That Month
59
Language
English
Hacker News Points
-
Post removed?
No
Summary

Kubernetes networking involves using NetworkPolicy resources to control network traffic, functioning like a firewall by allowing or denying traffic. To effectively employ NetworkPolicy, a Kubernetes Networking plugin must be installed, such as those provided by GKS, AKS, or Calico, the latter recommended for AWS with EKS. The configuration process mirrors firewall setup, initially blocking all inbound traffic and then selectively allowing necessary communications. For instance, within a "production" namespace, traffic can be configured to allow communication between pods of the same namespace or to permit external access to specific ports, like a web server on port 8000. NetworkPolicy can also restrict outbound traffic to prevent access to resources like the AWS metadata server. While useful for basic traffic filtering, NetworkPolicy alone may not offer comprehensive control over pod communications, prompting further exploration of tools like Istio for more detailed filtering in future discussions.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 12 1,218 176 69 -9%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.