Managing users in OpenShift
When we use the oc
command, it makes an API call to the OpenShift cluster using user credentials.
There are three main user types in OpenShift. Let's quickly talk about each of these three types:
- Regular users: A regular OpenShift user. Regular users are usually developers with access to OpenShift projects. Regular OpenShift user examples include user1 and user2.
- System users: System OpenShift users are special and most of these users are created when OpenShift is being installed. System user examples are:
system:admin
: OpenShift cluster administrator usersystem:node:node1.example.com
:node1.example.com
node usersystem:openshift-registry
: OpenShift registry user
- Service accounts: Special system users associated with projects. Some of these users are created when a new OpenShift project is being created.
Note
We are going to work with system users and service accounts in the next chapter. In this chapter, we are going to work with regular users.
We can get information...