View bindings

Learning Kubernetes · 4:03

Listen on 93

Lyrics

[Verse 1]
In the cluster where permissions flow
There's a secret you should know
Bindings tie the roles to users tight
Making sure the access is just right
Cluster-wide or namespace bound
Different scopes can be found

[Chorus]
Get cluster role bindings first
See who has the widest burst
Get role bindings all around
Every namespace can be found
View the bindings, know the way
Who can do what every day

[Verse 2]
kubectl get with cluster role
Bindings show the access control
Dash A flag will show you more
All namespaces at your door
Role bindings scope is narrow
Like a targeted arrow

[Chorus]
Get cluster role bindings first
See who has the widest burst
Get role bindings all around
Every namespace can be found
View the bindings, know the way
Who can do what every day

[Bridge]
Cluster bindings cross all lines
Namespace bindings stay confined
Check them both to understand
Who holds power in your land
Security through clarity
Permissions shown so you can see

[Verse 3]
When you need to audit rights
These commands will shine the lights
Show the subjects and their roles
Administrative controls
Binding names and namespaces too
All the access granted through

[Chorus]
Get cluster role bindings first
See who has the widest burst
Get role bindings all around
Every namespace can be found
View the bindings, know the way
Who can do what every day

[Outro]
View the bindings, stay secure
Make your access control sure
kubectl shows you what you need
Binding knowledge helps you lead

← Port-forward to a service | Check your own permissions →