---
title: "#networkpolicy articles | Hashnode"
description: "Explore 15 articles tagged #networkpolicy on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/networkpolicy"
---

Tag

# #networkpolicy

15 posts · 0 followers

[Rokkhe](https://hashnode.com/@rokkhe) · [6d ago](https://hashnode.com/posts/harden-kubernetes-workload-pod-security-networkpolicy/6afbc8222ec5c2ebd2a25583)

### [Harden a Kubernetes workload with Pod Security, NetworkPolicies and a non-root image](https://rokkhe.hashnode.dev/harden-kubernetes-workload-pod-security-networkpolicy?utm_source=hashnode&utm_medium=feed)

Enforce the Restricted Pod Security Standard on one namespace, run as non-root, add a default-deny NetworkPolicy, and pin the image you actually run.

8 min read · [rokkhe.hashnode.dev](https://rokkhe.hashnode.dev/harden-kubernetes-workload-pod-security-networkpolicy?utm_source=hashnode&utm_medium=feed)

[Sonal Kumar](https://hashnode.com/@Sonal98) · [May 30](https://hashnode.com/posts/network-policy-assignment/6a1b487a860ed170819b7843)

### [Network Policy Assignment](https://devopswork.hashnode.dev/network-policy-assignment?utm_source=hashnode&utm_medium=feed)

Following is an assignment of creating a network policy from the following instructions. Instructions : The assignment requires you to create a YAML file for a network policy in Kubernetes that meets

2 min read · [devopswork.hashnode.dev](https://devopswork.hashnode.dev/network-policy-assignment?utm_source=hashnode&utm_medium=feed)

[Matt Brown](https://hashnode.com/@mattbrownsec) · [Mar 16](https://hashnode.com/posts/kafka-on-kubernetes/69b870d62ad6ae5184f8bc3b)

### [Kafka on Kubernetes](https://cloudsecburrito.com/kafka-on-kubernetes?utm_source=hashnode&utm_medium=feed)

When Network Policy Stops Being Theoretical

11 min read · [cloudsecburrito.com](https://cloudsecburrito.com/kafka-on-kubernetes?utm_source=hashnode&utm_medium=feed)

[Matt Brown](https://hashnode.com/@mattbrownsec) · [Oct 7, 2025](https://hashnode.com/posts/service-boundaries-the-cilium-way/68e57d13d9e3b53f102539f3)

### [Service Boundaries: The Cilium Way](https://cloudsecburrito.com/service-boundaries-the-cilium-way?utm_source=hashnode&utm_medium=feed)

When Network Policy Meets Observability

15 min read · [cloudsecburrito.com](https://cloudsecburrito.com/service-boundaries-the-cilium-way?utm_source=hashnode&utm_medium=feed)

[Nusrat Bhuiyan](https://hashnode.com/@NusratDops) · [Sep 22, 2025](https://hashnode.com/posts/kubernetes-networking-and-servicesessential-cka-practice-guide/68d1042190d956224bd48dc6)

### [Kubernetes Networking & Services—Essential CKA Practice Guide](https://nusratdops.hashnode.dev/kubernetes-networking-and-servicesessential-cka-practice-guide?utm_source=hashnode&utm_medium=feed)

CKA Practice Notes – Networking & Services Second part of my Certified Kubernetes Administrator (CKA) preparation series.In the first part, I covered Workloads & Scheduling.This post focuses on Networking & Services, an essential skill set for anyon...

7 min read · [nusratdops.hashnode.dev](https://nusratdops.hashnode.dev/kubernetes-networking-and-servicesessential-cka-practice-guide?utm_source=hashnode&utm_medium=feed)

[Matt Brown](https://hashnode.com/@mattbrownsec) · [Sep 3, 2025](https://hashnode.com/posts/service-boundaries-scaling-with-calico/68b8c4af26a60e139b5e36f6)

### [Service Boundaries: Scaling with Calico](https://cloudsecburrito.com/service-boundaries-scaling-with-calico?utm_source=hashnode&utm_medium=feed)

A Guide to Global Defaults and Flow Logging in Calico

16 min read · [cloudsecburrito.com](https://cloudsecburrito.com/service-boundaries-scaling-with-calico?utm_source=hashnode&utm_medium=feed)

[Muskan Agrawal](https://hashnode.com/@muskan-agrawal) · [Aug 31, 2025](https://hashnode.com/posts/debugging-kubernetes-networking-why-cant-my-service-be-reached/68b47a284a973ea82f1eb3be)

### [Debugging Kubernetes Networking: Why can’t my service be reached](https://muskanagrawal.hashnode.dev/debugging-kubernetes-networking-why-cant-my-service-be-reached?utm_source=hashnode&utm_medium=feed)

How to methodically track down and fix service connectivity problems in Kubernetes clusters.

3 min read · [muskanagrawal.hashnode.dev](https://muskanagrawal.hashnode.dev/debugging-kubernetes-networking-why-cant-my-service-be-reached?utm_source=hashnode&utm_medium=feed)

[Matt Brown](https://hashnode.com/@mattbrownsec) · [Aug 27, 2025](https://hashnode.com/posts/service-boundaries-kubernetes-networkpolicy-basics/68af89e6d8288e261eab2aa8)

### [Service Boundaries: Kubernetes NetworkPolicy Basics](https://cloudsecburrito.com/service-boundaries-kubernetes-networkpolicy-basics?utm_source=hashnode&utm_medium=feed)

Transitioning from Open Clusters to Targeted Network Pathways

13 min read · [cloudsecburrito.com](https://cloudsecburrito.com/service-boundaries-kubernetes-networkpolicy-basics?utm_source=hashnode&utm_medium=feed)

[Cheedge Lee](https://hashnode.com/@cheedgelee) · [Jan 10, 2025](https://hashnode.com/posts/typo-caused-difference-in-networkpolicy-yaml-file/6781a299baa10a6451330a01)

### [Typo caused difference in NetworkPolicy yaml file](https://notes-renovation.hashnode.dev/typo-caused-difference-in-networkpolicy-yaml-file?utm_source=hashnode&utm_medium=feed)

Check following two networkpolicy yaml file, np1.yaml and np2.yaml: # np1.yaml apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: np namespace: space1 spec: podSelector: {} policyTypes: - Egress egress: - to: - nam...

2 min read · [notes-renovation.hashnode.dev](https://notes-renovation.hashnode.dev/typo-caused-difference-in-networkpolicy-yaml-file?utm_source=hashnode&utm_medium=feed)

[Cheedge Lee](https://hashnode.com/@cheedgelee) · [Jan 10, 2025](https://hashnode.com/posts/cka-quick-check-points-network/67813326ed65ccee47e729aa)

### [CKA Quick Check Points -- Network](https://notes-renovation.hashnode.dev/cka-quick-check-points-network?utm_source=hashnode&utm_medium=feed)

Quick recap for network. Details can click the title link or check the official doc. SVC 1. create # target port: listening port inside container # port: service internal port # NodePort: expose external port kubectl expose deployment nginx --name n...

2 min read · [notes-renovation.hashnode.dev](https://notes-renovation.hashnode.dev/cka-quick-check-points-network?utm_source=hashnode&utm_medium=feed)
