---
title: "Discussion on \"NetworkPolicy in Kubernetes with example\" | Hashnode"
description: "Discussion on \"NetworkPolicy in Kubernetes with example\". Introduction\nIn Kubernetes we can deploy as many as pods which is for different application or have specific usage, by default in Kubernetes cluster all pods can communicate to each other but If we want some specific pods to not be communicated by ot..."
url: "https://hashnode.com/posts/networkpolicy-in-kubernetes-with-example/667bb6aad7e95420e8d81072"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [NetworkPolicy in Kubernetes with example](https://kubernetes-by-gaurav.hashnode.dev/networkpolicy-in-kubernetes-with-example?utm_source=hashnode&utm_medium=feed)

Introduction In Kubernetes we can deploy as many as pods which is for different application or have specific usage, by default in Kubernetes cluster all pods can communicate to each other but If we want some specific pods to not be communicated by ot...

Jun 26, 2024 · 5 min read · kubernetes-by-gaurav.hashnode.dev  
Read the article

-   [#kubernetes](https://hashnode.com/tag/kubernetes)
-   [#networkpolicy](https://hashnode.com/tag/networkpolicy)
-   [#kubernetes-container](https://hashnode.com/tag/kubernetes-container)
-   [#nginx-ingress](https://hashnode.com/tag/nginx-ingress)
-   [#nginx](https://hashnode.com/tag/nginx)
-   [#egress](https://hashnode.com/tag/egress)

## Written by

[Gaurav Kumar](https://hashnode.com/@gkkumar)

@gkkumar · Bangalore, Karnataka, IND

  
[View profile](https://hashnode.com/@gkkumar)

DevOps Engineer

I am working as a full time DevOps Engineer at Tata Consultancy Services from past 2.7 yrs, I have very good experience of containerization tools Docker, Kubernetes, OpenShift. I have good experience of using Ansible, Terraform and others.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
