 Hi everyone! In this short video I'm going to show you how to install Keycloak on OpenShift. Okay and you will see it's really easy. So let's go to my OpenShift cluster that I've deployed here and what we are going to do first thing is we are going to create a new project and let's call this project Keycloak. Okay and there we are in Keycloak and then look here you have something called operators and let's go to the operator app. Okay it's loading and let's search for Keycloak. Keycloak there we go and look we have a Keycloak operator. So I just click here I say okay so community it did a operator and I clicked install. I subscribe to the operator and it's just getting installed. You can see here installing it takes a while. Let me grab some coffee while it's installing and once it will be installed we will be able to create a Keycloak instance that will create a service for us, a service discovery and a lot of differences. Oh look it's installed so let me click here on the operator and look what we can do here in provided APIs. Keycloak represents a Keycloak instance so here I can create a Keycloak instance. Okay so let's just click here and we can see here a CRD a really simple CRD the name of our Keycloak instance that goes it's okay and let's press create Keycloak and now the operator is installing a Keycloak instance for me. Okay while it's installing let's see the other things that we can do with the operator so we have here Keycloak realm so we can create a realm for our Keycloak based on a CRD. Okay we can create a Keycloak client so I just remind you a client in Keycloak is any app backend app frontend app that is secured by Keycloak it's a client so you can make a client representation using a CRD and you can create a Keycloak user from the operator. So that means that all the basic stuff that are really important in Keycloak realm client users that can all be handled by this operator by CRDs which means that you can automate all this stuff around your cluster. Let's take a look at our Keycloak instance and look my Keycloak here is running but not yet ready because it needs to start up I got my operator here and I got a Keycloak Postgres because Keycloak needs a database and with the operator it will spin up a PostgresQL database for you and connect that to your Keycloak server. Okay if we take a look here at our services you can see we have a Keycloak service so which expose our Keycloak server a Keycloak discovery service we have even some metrics and the database is of course also exposed as a service and since we are on OpenShift we also have a route and here you can see we have this route here that will point directly to our web interface of our Keycloak instance. Okay let me double check if the deployment is done it's still not done let's take a let's take a pause and I come back once it's installed and we can take a look at it. So my Keycloak instance is running and ready that means if I go here to my routes and that I click on the route that should open for me the Keycloak console look and we can go here to the administration console there we go and yeah I need to log in and which are my credentials when the operator installed the Keycloak instance for you it also created a secret and if you go here you can see something called credentials example Keycloak and here you have the admin password and the admin username we can check the admin username it's admin and let me copy the password here and let me do admin login and voila I got a Keycloak instance running I'm here on the master realm but of course I can create a realm from here or remember that you can also create a realm from the operator if you go here and that you click here on create realm you should be able to create a realm okay maybe we can try it let's try it let's create the realm here let's create a realm called basic and if we go here in my realms we should have the basic realm to be honest I've never tried that so maybe I made a mistake let me see basic no it's there so you see I can create realms users clients from the operator okay in the next video I will show you now how to secure a workload that we put in Kubernetes with Keycloak installed here okay bye bye see you in the next video