 Welcome to another demo video of Red Hat OpenShift Container Platform. Today I'd like to talk to you about CouchPace and how easy it is to install a CouchPace cluster on OpenShift with a certified operator. For those of you not familiar with CouchPace, it is a full-featured multi-service NoSQL database. And today we're going to use their operator with an OpenShift to get up and running and get you up and running quickly. So with that, let's take a look at what we're going to review. First, the install of the CouchPace operator within OpenShift. And you'll see how quick and easy that is. Then we're going to set up a project, configure a secret, and then use those in the installation of the CouchPace cluster. Once we do that, we'll set up a route to expose the CouchPace UI. That way, your administers can log in and begin work immediately on CouchPace on top of OpenShift. All right, so with that, let's zip right into it. We'll go to our OpenShift container platform console here. We're going to take a look at our operator hub. But remember, the first thing we got to do is install the CouchPace operator. To do that is extremely simple. We'll take a look at CouchPace, search for that. We'll click on the operator. We'll click Install. Then you have a few options here. The only one of real note is the installation mode. We're going to install on all namespaces, so this can be used by anybody in any project within OpenShift. If you wanted to, you could limit it to one particular namespace to make sure it's not available to others. For now, for demo purposes, we're going with all and we're clicking Install. Then in many cases, this is the time when you pause the video and you start it back up so people aren't kind of waiting through that space. But I wanted to show how quick this is. Just a few more seconds and we'll have an operator up and running and there you go. We'll click View Operator. That's where we're going to end up. If you notice, there's CouchPace cluster here. Eventually, we'll get to that and install the actual cluster for CouchPace. First, I want to show you where we went. We were an operator hub. This is where we installed it. Right underneath that, under Operators here, is Installed Operators. Now we have CouchPace operator installed. We can click on that and that takes us to the interface with all the different things you can do with this operator, including the installation of that cluster, but we'll get there in just a second. Before we can do that, we're going to go up here and create our project. So we'll go up to the right-hand side, click on Create Project. CouchPace example is what we're going to call it. We'll give it a displace name and you can notice I've done this a few times. Just going to paste this. All right. And then we'll hit Create. Simple as that. Now we have a project called CB-Example. We're going to utilize in the rest of this demo. Then one more step before we can create the cluster itself is we're going to create a secret. And there's different methods that you could use to create secrets. And you'll notice it will show you in just a minute here. But today we're going to use from YAML. As you get more experience and you set this up in a production environment, you're going to want to use different methods. This is a simple one for us to demo. We're going to do that. I'm going to cut and paste this and then show you the key component that you really want to be looking at, which is setting up our secrets that we'll use later when we log into the UI. For couch base. So you'll see here, the data is the main portion of this username and password. We're going to have administrator and password set up there. We'll create that secret by hitting Create. All right, so we've added that secret. Remember that because we'll use that in the installation of the couch base cluster itself. All right, so with that, we're going to go back to our installed operators. We're going to click on couch base operator. And now we're going to click on couch base cluster, right? And of course, logic says create a base cluster. And here we go. There is two different ways of doing this. You can do it from a YAML view, right? Or you can do it from form. Today, we're going to do it from form to watch and kind of through the steps in the different sections. It's a little bit more visible here in the form. And the first thing we're going to do though is verify something. We're not even going to change anything. Under security, remember that secret we created? There it is. So now we know that we don't change it, right? That's what we wanted to use. You could use others if you have multiple secrets and modify the one you want to use there. All right, this image though, we are going to change this container image because we want to use the latest and greatest. So I'm simply going to cut and paste this. Please note by the time you watch this video, this may not be the latest and greatest. So watch for that. Make sure you use one. That's appropriate for your needs. The next thing we're doing is under servers. And we're going to do two things here. First is the demo environment that I have has two worker nodes. So I'm going to reduce this from three to two. If your environment has more or less, make sure you change that so it matches, be at four or five, et cetera. So we'll do that. The other thing is right underneath there under servers, there is services. We're simply going to get rid of three services that we're not using. There's no point in using excessive resources or something we don't need. So we're going to remove search, eventing and analytics. Simple to do that. Right, we'll keep scrolling down to backup. Here there's going to be another image that we need to remove, or I should say replace. The same thing here, I'm going to cut and paste. And we're almost done. Underneath here is monitoring from Atheus. And remember, bring this now comes included in OpenShift. We're going to do the same thing here. But for that image, we want to make sure we have the latest and greatest. So we'll get rid of that. Go over here and pick up the new image. We have that. We're going to verify that we've got everything configured we need. Yeah, all looks good. So we'll come to the bottom. We'll click create. This is a little misleading because it pops right to the screen, and makes you think, hey, my couch base cluster is up and running. It's not. We'll take a look at that real quick. So if we drill into this and go to events, well, first of all, you'll see here a warning. We'll go to events so you can watch this in real time. Again, not pausing the video here, letting it run and boom, there you go. Our couch base cluster is running, but even then, when we return to details, we're going to see there's no members yet. So none of the worker nodes are fully up and running yet. Again, not pausing the video, letting you watch this. What we're going to see is the first worker node come up and then we'll see the second one. So, and as we do that, and there's the first one, and as we wait for the second one, you can see this information here, like current version and other stuff that you configured during that, and we'll scroll down as soon as we get that second node up and running, so you can see some more information there. And then we still have one more step. Don't forget that we still can't get to that service until we expose it with a route, but we'll do that in just a second here. So again, that's one worker node and there's the second one just came up. With that, I'll scroll down just to get a feeling for some of the things. Some of these you'll recognize like the admin secret. We configured that. That is here, a lot of the other configurations that you set up can all be reflected here so you can see what you have. All right, with that, we've gotten to our final step. We're going to take a look at networking and routes. You know, because remember right now, we have this up and running, but it's really only with an open shift. You're going to want to expose that to your network so that your, you know, couch-based administrators can get to their NelSQL database. We're going to create a route. We're going to call this, let's just call it my route. We're going to select the service. Remember, it's the UI we're trying to expose so that's the service. And target part, we'll use 8091 TCP and that's it. We'll click create and immediately this pops up. Take a look at our location. There is a URL there. We simply click on that. That'll open up the UI for couch-based and look at that. We've got a username and password. This should begin to look familiar as far as our secret. So I'm going to show up for case A and then password. Click on that and there we go. We're logged into our dashboard. We're ready to work. Or I should say your administrators were ready to get going on the work that they need to do with couch-based within OpenShift. So a quick recap. We installed the operator. We created a project. We created a secret. We use that in the creation of the couch-based cluster. And then we created a route to expose the UI, logged in and we're ready to go. Your administrators are ready to go and start their work on their database. Thank you for watching this demo video. We'll create others in the future. See you then.