kubernetes-security/01-AUTH.md

26 lines
591 B
Markdown
Raw Permalink Normal View History

2018-04-21 04:34:11 +00:00
# Kube Auth
## Requirements
- Have `kubectl` working against minikube
## Theory
- https://kubernetes.io/docs/admin/authentication/
- https://jvns.ca/blog/2017/08/05/how-kubernetes-certificates-work/
## Practice
- Figure out how kubernetes authentication works
Try by running the following commands:
2018-04-21 10:36:05 +00:00
- `kubectl config view`
- `kubectl cluster-info`
- `kubectl proxy`
- `minikube dashboard --url`
- `kube auth can-i [verb] [resource]`
2018-04-21 04:34:11 +00:00
Try figuring out what command line flags the minikube
server was started with and use that to figure out what
authentication methods does it support.