User accounts
User accounts are for humans (cluster administrators or developers) who typically operate Kubernetes from the outside via kubectl or programmatically. End users shouldn't have Kubernetes user accounts, only application-level user accounts. This is unrelated to Kubernetes. Remember, Kubernetes manages your containers for you – it has no idea what's going on inside and what your application is actually doing.
Your user credentials are stored in the ~/.kube/config file. If you are working with multiple clusters, then you may have multiple clusters, users, and contexts in your ~/.kube/config file. Some people prefer to have a separate config file for each cluster and switch between them using the KUBECONFIG environment variable. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access