View network policies

Kubernetes Administration Essentials · 4:32

Listen on 93

Lyrics

[Verse 1]
When you need to see the rules that guard your cluster's flow
Network policies control the traffic, high and low
Use kubectl get to view them all across the space
Add dash A flag to see them in every namespace

[Chorus]
View network policies, see who talks to who
Get network policies, that's what admins do
Dash A shows all namespaces, every single one
Network policies keep your cluster secure and strong

[Verse 2]
From day one implement the best practice way
Default deny all traffic, then whitelist what can stay
Start with zero trust model, block everything at first
Then open up the channels for the traffic that you trust

[Chorus]
View network policies, see who talks to who
Get network policies, that's what admins do
Dash A shows all namespaces, every single one
Network policies keep your cluster secure and strong

[Bridge]
When services need to talk across namespace lines
Use FQDN service names, that's how you define
Service dot namespace dot svc dot cluster dot local
That's the proper format for communication protocol

[Verse 3]
Configuration and secrets come next in our song
ConfigMaps hold the settings that help services run strong
But first secure your network with policies in place
View them with kubectl across every namespace

[Chorus]
View network policies, see who talks to who
Get network policies, that's what admins do
Dash A shows all namespaces, every single one
Network policies keep your cluster secure and strong

[Outro]
Default deny, then whitelist
That's the security checklist
View your policies today
Keep the bad traffic away

Rollback to previous version →