Creating Users to Access the Cluster

Learn how to create a user based on a fictitious character named ”John Doe” who wants to access our cluster.

Understanding the scenario

Let’s suppose Kubernetes is getting popular in your company. People are becoming curious and would like to try it out.

Since you are the Kubernetes guru, it came as no surprise that you received a call from John Doe. They want to use Kubernetes, but they do not have time to set up their own cluster. Since they know that you already have a cluster up and running, they’d appreciate it if you would let them use yours.

Since you have no intention of giving John your certificates, you decide to let them authenticate with their user account.

Installing openSSL

You will have to create certificates for them, so the first step you’ll need to do is to verify that OpenSSL is installed.

Get hands-on with 1200+ tech skills courses.