NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 30 min
Master Kubernetes pod-to-pod segmentation. Learn to implement Network Policies, enforce zero-trust microservices communication, and prevent lateral movement.
You are the lead cloud security architect at MediTrack Health. The patient records application runs in the namespace patient-records with three tiers: frontend (web server), backend (API) and postgres (database).
The audit in lesson 1 showed the problem: there are no NetworkPolicies, so the frontend can talk to the database directly and skip the API's authentication, rate limits and business logic. If the frontend is breached, protected health information (PHI) in the database is one connection away.
Your goal: allow only ingress controller → frontend → backend → postgres, so that a breach of one tier stays in that tier.
Pod IPs change every time a Pod restarts, so Pod-to-Pod rules use labels (app: backend), not IPs. ipBlock (CIDR) rules exist too, but they are for addresses outside the cluster, such as a partner API.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign inNetwork Security and Hardening
This comprehensive learning path dives deep into the principles and practices of securing network infrastructure. You wi
ViewNetwork Design and Architecture
Elevate your career from network technician to strategic network architect. This advanced learning path takes you beyond
ViewWireless Networking Fundamentals
This module introduces the foundational concepts of wireless networking. You will learn how Radio Frequency (RF) physics
ViewNetworking Fundamentals
You cannot secure a network if you do not understand how data moves across it. The Networking Fundamentals learning path
ViewWindows Fundamentals
The Windows Fundamentals learning path provides a comprehensive foundation in Microsoft Windows operating systems, speci
ViewCybersecurity Foundations
Every great security professional starts with a rock-solid foundation. The Cybersecurity Foundations learning path is de
View