All technological notes.
All Kubernetes clusters have two categories of users:
service accounts managed by Kubernetesnormal usersAPI requests are
normal userservice account,Kubernetes does not have objects which represent normal user accounts.
Normal users cannot be added to a cluster through an API call.normal users are managed in the ways:
user store like Keystone or Google Accountsfile with a list of usernames and passwordsany user that presents a valid certificate signed by the cluster’s certificate authority (CA) is considered normal.
username is determined from the common name field in the ‘subject’ of the cert (e.g., “/CN=bob”).role based access control (RBAC) sub-system would determine whether the user is authorized to perform a specific operation on a resource.Service Accounts
namespaces, and created automatically by the API server or manually through API calls.Secrets, which are mounted into pods allowing in-cluster processes to talk to the Kubernetes API.