EKS RBAC: An Approach and Strategy with Examples
Shows an RBAC management approach and strategy. We cover ClusterRole, ClusterRoleBinding, Role, and RoleBinding.
The setup looks like this:
Users
User | Description |
---|---|
test-admin | Full access to all resources. |
test-read-all | Read access to all resources. |
test-app1-dev-read | Read access to app1 dev. |
test-app2-dev-write | Write access to app2 dev. |
test-app2-owner | Read access to all resources and full access to app2 for prod and dev. |
Apps/Deployments
Deployment | Namespace |
---|---|
web | app1-dev |
web | app1-prod |
web | app2-dev |
web | app2-prod |
Useful Commands
kubectl auth can-i get pods --all-namespaces
kubectl auth can-i '*' '*'
kubectl auth can-i create pods --all-namespaces
kubectl auth can-i create '*' '*'
Links:
- GitHub: boltops-learn/eks-rbac
- AWS Docs: Managing users or IAM roles for your cluster
AWS Console Guides
3h 41m
3h 41m
Terraform Fundamentals 101
1h 36m
1h 36m
Terraform AWS
2h 4m
2h 4m
Terraform HCL Fundamentals
1h 53m
1h 53m
Terraspace Fundamentals
2h 30m
2h 30m
Terraspace Cloud
2h 33m
2h 33m
Terraspace AWS Cloud
1h 43m
1h 43m
AWS EKS Kubernetes
4h 13m
4h 13m
Get full access to these great resources
All for less than the price of coffee a day
44 courses
286 lessons
46+ hours