 Good morning. Good afternoon. Good evening and welcome to a another edition of the level up hour here on open shift TV I am Chris short executive producer of open shift TV And I'm joined by the one and only the illustrious Langdon whites Langdon. How are you today, sir? Oh, not too shabby We you know as always are concerned about our coffee intake Yes, but you know, I was just talking to my wife Whose idea wasn't to do it 9 a.m. Show exactly and then I realized I think it was mine. Yeah, it's all it's all your fault So I think it is my fault So today is the level up hour Let's introduce quickly with the slides Because everybody loves some slides Who was I talking about slides with the other day, I don't know but so this is a level up hour Where we talk about why containers are fun and amazing and show you how to You know use them for kind of your everyday stuff And then kind of by extension why you might want to orchestrate them using something like open shift when you run into Kind of the growing pains that you might run into with using Containers directly although we had I've actually had a bunch of discussions lately on this show I think even about discussions where you know, sometimes you actually just want to do orchestration with like pod man and YAML And that looks like it's gonna get even better in hot man three So I'm really excited for Bob man three. Yeah. Yeah, so I was gonna say like Let's do the slides and then I want to talk about some like announcements But so find us on Twitter. I'm Langdon with a one and Chris is Chris short all one word You don't have to get the casing right we just do that so it's readable And you can join us on our discord. We're usually around and you know, that's you know, it seems to be the cool kids hanging out place It is I don't know. It's a trade-off against slack But you know, it still has the it has the voice capabilities that are like yeah You're to use them slack if you like but yeah, it is that you know, it's pick your messenger to juror, right? Right, right my one of my children actually just hangs out like basically as soon as school is done jumps into Minecraft hangs out with his friends and it's been actually a real blessing In the kind of pandemic scenario where he can't go see his friends But he is literally on audio and chat with them, you know for hours at a time When they're all kind of playing Minecraft they talk about schoolwork all this stuff. It's really it's really quite interesting Wow, that's that is interesting. Yeah, it's like they're chatting and stuff too. Yeah, like community they've built. Yeah, that's awesome They have you know, they have some people who kind of come in and out It's it's really like I said quite interesting. There's like a whole sociological study To be seen I think in this environment that oh, absolutely. Yeah, if I was in in that educational field, I think it'd be interesting so JP Dade makes an interesting point, but let's gotta get through the slides. All right, so Today, we apparently terribly named the level of our in the terribly named I was just I came off of four days of pto and I was super confused when I saw the intro graph right for this episode Yeah, so I um, I got it from somebody else too that they were like wait, so are you doing like a crossover within the crowds And you know, I don't know if anybody ever watches. I think it's the cw channel But they always hype like crazy their crossover event shows Yeah, and so maybe we need to do a bunch of some crossover I would welcome that. I'd be all for that. Yeah. Yeah. So so that should be so but what we're actually talking about today is The developer sandbox. It's a way that you can for free Check out the developer. Sorry open shift kind of in the cloud in a way where you click a button and it goes instead of having to build it yourself And and so that's what the in the cloud part is But you know, you got to get those buzzwords in there. You got to drive that traffic So, uh, you know cloud, uh, you know synergy You know, no, no, don't start that. No, I did say I spent a lot of time in consulting Um So, uh, the other thing is as I try to do every week, um, or every episode I try to do show notes Um, and we appreciate those show notes. Yes, we do. So I Missed whatever I was like two weeks behind or something. So I kind of bang through those and uh, they are I just linked them not very prettily in the chat but uh There they are a little bit more nicely. So go check them out file an issue filing problems I like said, I try to recap, uh, what we talked about and then At least for me somewhat more importantly, um I try to also give reference links. So if you want to know more about a particular subject go here kind of thing um So that's it for slides because the next one is the internet points. So we won't show those yet. Um But uh, I did want to uh, like I said make a couple announcements So first and foremost, we are dark next week. Yeah for no particularly good reason except that it's st Patrick's day and that's a very popular holiday normally in my community like in my neighborhood But is that actually the reason Yeah, you know, you know, I'm gonna day off. Well, I was not even um, it's Okay, but is it gonna be like a huge block party kind of thing? Well, so there normally would be we have one of the biggest Parades in the country. Um, usually next week like on your street, right? Yeah, yeah Like it kind of goes like down my not down my block for the next block over And so it's uh, you know, it's a big deal But given pandemic everything's canceled. Um, you know, I guess maybe maybe it was some level of hope. I don't know. Um, so Yes, jp day. There are there are irish people in boston. Um, But uh, what's particularly funny is actually when I moved here and I've been here, uh, I've been in this neighborhood for so south boston for 15 years now. Um That apparently there are bartenders and like waitstaff that fake an irish accent Because they get better tips Because they're irish for the neighborhood. Yeah, which I think it's hilarious more power to them. Don't get me wrong You know, it's interesting that they get Like not called on it, right? You would think yeah I well, I mean clearly they've been practicing so good for that. Well, and clearly americans are excellent at recognizing accents You know or anything outside of america how I can't say half the words in the english dictionary because of my upbringing. That's right. Um, yeah So I always thought I thought that was pretty funny, but uh So dark next week, but the week after we are going to have on the show one of the lead architects brent bowdie of podman v3 And so we are very much looking forward to that He's a really good guy for one thing and it should be really interesting to talk about what's new in v3 Because we are very excited for it I think, you know, we talked about it a little bit in was it last episode we did or the one before that? Um, uh, I think it was the last one. Oh, it was the one before that because we did subscriptions last time and before that We did a c-linux And he was talking about because my big question about v3 was y3 like what made the x bump and it's really about the api interface But from a user perspective, you know the casual user perspective There's a ton of new features. So we're really looking forward to it And norenda has asked if irish people speak english or welsh Actually, they speak neither they speak irish They usually also speak english english. Um, but uh, seldom would they speak welsh. Yes. Yes. The welsh speak welsh primarily And uh, you know, but I think if you were kind of standing around and there was uh, one group of people speaking welsh And another group people speaking irish. I'm not sure you'd be able to tell unless you knew one of the one of the languages Um, it's like, uh, what is it german and dutch? It's like, uh, yeah, right? Like one is a lot of similar sound. Yeah. Yeah So, uh And then we have Oh my hey bo, how's it going? Uh, so we have mo duffy who actually speaks irish on the show And is making comments in the chat in irish. Um, wow. Good job. I just translated that The thing I learned actually relatively recently is I guess, um And you know, feel free to correct me. I can't quite remember how this works But so like gaelic is not irish gaelic is that is different. Yeah, like I now I can't remember. It doesn't matter That's not what the show is about. Yeah This is not an etymology or, uh, you know, like a linguistic show. Um, But uh, you know, so even though we we get into all kinds of random, uh commentary, um So jp day did bring up, uh, another point, uh, kind of very early in the chat, uh, which was We should write up the discussion about we had Quite some time ago, uh on one of the episodes about v8 and about using, uh, and I don't mean the, uh, you know, tomato drink I mean the uh the engine the engine for the engine. Yeah for a javascript And about getting that on uh rel. Uh, so apparently that is a not a well-known subject. Um, so Yet, yet another thing for me to add to my list of things to do So we're like you have a team of people Right that where? That they're all right there in the channel with us. Yeah, that's true I would love to see jp day to write us a blog post that about it and I will make sure it gets published Um, like and maybe we'll even put a can publish them a level up our code on it And then and then people can get points. We're going to uh read it But I know jp date is busy and And like I said like we have a team literally of people that we work with that could help us with that too. That's true That's true the developer advocate team could certainly take that on Yeah, I feel like maybe faster than you could potentially potentially potentially um So, okay long story short talk about developer sandbox today um So my inclination is to Share and we're gonna try to Have both of us play with this today Um, which is not our normal kind of scenario. Um, But so I'm just gonna do I obviously have uh some stuff already set up but um I'm kind of going to do what all of you all would do Uh and log in Oh, not even. Uh, I was going to go further back than that. Um, hold on one second. We share. Um Do it too. Yeah, so the dev sandbox we've talked about it. I think briefly on the show before but if you want to get your own two-week instance of the full Open shift, uh, you know container platform Uh, go to the link. I just drop in chat and you will be able to just log in with a free developer Red hat developer login and off you go But given the likelihood that you oh boy, am I on mute? No, you're not on mute. You're good. Uh, so but given the likelihood you're gonna forget that link Uh, you know do what I do which is you google red hat developer sandbox and look at that the first result first And so If you are here, uh, you will not immediately see this. This is because I've already kind of engaged it But basically what you have to do is you kind of log in if you don't have a developer sub It'll make you fill out some t's and c's that kind of thing. Uh, it's pretty low Barrett entry. I think you can also social log in You know where social is github As well as a bunch of other stuff So use whatever you like. Um, I just from my own experience. I have always created Like personal email address based developer Logins because then they can survive like leaving companies or coming back to companies You know, so You know, like I said, your mileage may vary. Um, but you know, here's here's kind of how you get going But then you say start using your sandbox. Um, and this is going to go much faster for me in theory than it will for you Because I already did it once today So hopefully it will come along pretty quickly um, and One thing I did want to point out is that there was another episode. I'm sorry another show Entirely about the developer sandbox I don't know maybe a month ago. Um, it was less than a month ago. We like we've done a couple Not sessions with the developer toolbox that we've talked about it on many many shows Okay So don't like it's it's a known thing on the channel But this is our first time like just kind of like getting in and just digging right, right So the first thing that I want to point out is that Okay, so my username here is just Langdon. Um, and so it generates three different What are called? You know open shift projects, you know, we talked about these before But it creates this code one a dev one and a stage one To try to kind of start to set up that ci cd Um, kind of scenario for when you want to build something out Um, I don't think we're gonna get that sophisticated into it today. Um, but you know the idea That's kind of the idea. Um, but the first thing I think I was going to show maybe show, um Well, can you do me a favor and do this for Narendra real quick quick on your login name Say that on the top right. Yep your your login name click that down arrow. Yep And then dev sandbox, right? Yeah, one thing. This is uh annoying. I know this in progress. Make sure you click dev sandbox Yeah, that's the big thing in all this so it don't don't don't don't don't click that Narendra if you click that Display token thing It will give you your credentials for the command line You don't have to set any environment variables or anything like that. You can just go ahead and log in I actually just did that I was trying to think how I could Uh You yeah, I was trying to think what it's really how to show you what it'll show you without showing you Well, I mean I have like it on my screen, but I would want to like scroll off the actual command I ran Or just just like mess up the token Uh Yeah, I could maybe do that but like it here I can share a screenshot just as easily as I can share anything else But you know, um essentially you it's an oc login with a unique token to a server path And it tells you like boom. This is your thing You know that you're running on 6443 as you know from ec short using the token provided And you have access to the following projects and can switch between them with oc project project name And you have three projects that are created Your login name dash code dash dev and dash stage thinking through your you know deployment process And your default logged into the code project No, no actually weirdly uh, or at least for me it always comes up with a dev project. It always comes up in the middle. I don't know why um so One other thing I wanted to point out too is um, it's always a good idea under this question mark To go to command line tools here and get the right version oc here, right? And so we talked about this a few episodes ago with the oc clients. Um, sorry Oh, I what did I call it open shift clients? Uh container so that you could actually switch between them. Uh, so that's one, uh, that's kind of another approach to the same thing um so somebody asked in the chat about pricing so um, oh jp did kind of answered it, uh, so There there is a developer subscription now That developer subscription actually I mean it's been around for years and years but that developer subscription now includes 16 production installs of rail But it also includes access to actually a ton of content in the customer portal As well as a ton of content on the developer site. I don't know how much of the developer site is actually pay walled. Um, and when I say pay walled, I just mean you have to log in first. Um, and then The also gives you access to this developer sandbox All of these that subscription is currently a note like is no cost subscription for everyone And so you can kind of just go sign up for it But it kind of includes all those different things and uh, I know there's lots of plans to add more. Um So hopefully that answers the question but basically, you know, it gives you a way to get rel and the sandbox And like I said also customer portal access So definitely go check it out. Um Um, so You know, I'm just kind of looking at the comments. Um, yeah, I'm looking at the comments too trying to find the link to where you can just get the rel instance like details Oh, uh, yeah, there's um, yeah Uh, it's there was a big announcement about it, but basically oh actually what we talked about last week. I got it. Which was cloud.redhat.com um In here, um, you can actually I've actually never gone in this way. So let me see if I can figure out how to do it. Um So there is this thing in here, which is called subscription watch Which Why am I oh here it is. Um, you can actually go and see how you are consuming your subscriptions. Um, and Uh, you know, whatever. I don't have anything in this account or whatever. Um, but long story short Those subscriptions should show up here. Uh, and along with like insights and you can kind of see your status um, and then you can kind of look at You know killing off a subscription like so one of the things we talked about in the show last time was The problem, especially amongst developers or anybody who's like experimenting Is you spin up an instance of rel you attach the subscription to it. Then you ice some stuff Yeah, and then you do some stuff and then you blow away the VM and you forget to detach the subscription Right. Um, and so now one of your 16 is in use for some period till it times out essentially Um, so what subscription watch let's you do is kind of like fix all that but from uh, you know, you don't have to Still have the VM, you know all that stuff. Uh, so that's kind of the idea behind this tool chain Um, and you can get to a bunch of these tools under cloud.redhat.com If you are not doing a live show, it's a lot easier to read these words and therefore find this stuff But what i'm doing it live on the show, I could I I forget where different stuff is but you can um Manage you can actually install open shift from here. Like there's lots of different stuff you can do here I highly recommend it does a lot of nice stuff, uh red hat insights, which tells you kind of about uh, your deployments Yeah, you know, and so you can use this personally as well as use it like As a corporate account, right? Um, and I think This is the kind of thing that it doesn't occur to people to use personally or like as a You know as an independent entity, you know for your own stuff But it should scale down To you know, kind of a regular user. It's not just for you know, 47 billion installs of rel Yeah, so seven billion, uh Yeah, that's a that's a uh technical important number. Can you grab the link and drop it in chat? Oh, sure. Um, it's just I do like that. It's just cloud. Yeah cloud Yeah, um, you know, typically we would have to read write red hat hybrid, you know enterprise advanced in front of it But this time we got away with just cloud Okay, so yeah keep going i'll answer the questions in chat just yeah, yeah and so we go back to, uh developer sandbox, um And what I wanted to show was, um First and foremost, but I think kind of get to it, uh is going to um what's called code ready workspaces which is a derivative or like a it's the product version of An upstream project called eclipse che Um Which in from an experience perspective is actually very very similar to visual studio code. So if you Um, but it's kind of all you know in the cloud. So, uh, your Current code status is always there. Um And now i'm completely blanking on how you get to it. Um If you go no not there operator hub. You got to go right. Yeah, uh application view or whatever Yeah, ministry. So Oh operator hub's not on here. Oh, right. Okay. So this is one of the things that I wanted to talk about. So, um, let me digress for a minute We'll talk about operators. Um Often is the case is that operators are highly privileged operate things Um, and so as a result, uh, there's oh wick maren duffy says, uh go back Or just look at the the nine box thing next to the Plus sign and question mark in the top right hand side The nine box thing. Oh Nine boxes the little box. Oh There we go. I was like, I know it's somewhere really obvious. I just like I cannot you know, I can't think through it. Um There you go. But yeah, sorry. All right. So let me just mention the operators part So usually they're very privileged the thing that I find a little confusing about the term operator Is that you actually do have access to a bunch of operators just not Certain kinds of operators. Um, so if you go back like in here um You can get or Yeah, I don't know. I I get a little confused about what we're going to call operator versus not operator or whatever So like you have Some of these things here. So like if we say Oh Oh, so I guess it is missing the operators all together. So That's where I think we're still struggling with like how to make a shared environment Be able to have this kind of new-ish feature to open shift of the operator operators are really nice because they have you know your uh s re experience embedded in the in the code base itself so I can always just and we've done this before let me see if I can get it from the catalog Because it'll be prettier now. Um, so If we go to The red hat market place container registry something url If we go here we can find things like maria db And so here is maria db 10 dot 3 We've used this on the show before It has it is a pre-built container And we have a bunch of different versions for target deployment environments But what we can do is I'm just looking for the right link this one But we might need to embed a secret But right We can say like this. Um, and then Just leave all that alone. We will not create a route And so then we can kind of go get a maria db I'm not sure if it will already have preconfigured the secrets to be able to log in to um the container catalog Um, so it may fail But we can fix that and it looks like it did fail. Um, yeah, so Uh, we can fix that the same way we did in the past, but the point being is like You still have this whole catalog of content It's just that there's this shift going on kind of moving from pure container images Uh, like this one to um Operators which kind of embed more Functionality so we can see there's also I'm sure a bunch of maria. Come on really is this really gonna fail me today? um Yeah, so okay, so there's my sequel I wonder if we're gonna get I wonder if we got a different if we get a different result if we tried operator hub dot i o um So here's the maria db operator. This is a Um, oh it's actually listed as alpha version is current. Um, so so this one's pretty early on We may not want to use this one quite yet, uh without some expectation But the idea being is that it keeps track of itself, right? And it will do as you can see here. It will do seamless upgrades of maria db Um, it'll do full backups So all these operator things that you do to a database that you don't get if you just You know kind of go after the container image because the container image is just maria db itself So you can still seamlessly upgrade it. You can still seamlessly back it up and all those other things But you have to write all that code um or or putting all those operations So that's kind of uh the difference between like a container and an operator um, the problem is that with uh The shared deployment environment An operator is hard to uh set up That was a lot of talking And the the the question in chat is what is that button actually called it is in theory called the application launcher in open shift But it is still considered a hamper menu. Uh, according to serena from the future Oh, this one. Yeah, the little nine blocks to julio. Yeah, uh That's interesting. Um, see because I think this is a hamper menu because right it looks like hamper Yeah, and I'm gonna send her a screenshot and just say like arrow that thing Just to make sure um, right, you know, if it was if it was truly fedora, though It would be a hot dog menu. Um, or we could really get esoteric and call it a sandwich Um, and then get everyone we could call it a sandwich is a hot sandwich is the question Well, or is a taco? All right, so I don't know why I'm getting this in fact Because I have used this before so I'm not really sure what the deal is. Um, maybe I was using a different account Which is certainly possible The problem when you use your accounts at your own workplaces you tend to have six of them. Uh, so Okay, so code ready workspaces. Um Like I said, this is like uh an online ide. I think it feels really similar to um visual studio code. So if you like that, um Speaking of no j s, um, we can do a kind of pre planned project in a sense Um And it's going to think about it for a minute Uh, and just keep in mind you can go get code ready workspaces, uh yourself to deploy yourself Um on your local environment. Um, I think actually well, we're waiting for this to cook. We can look. Um Oops Um I don't know if that is there a bundled download or do you always do it as an operator on crc? Uh, I always do it as an operator Yeah, okay. Um, you can also just download it. Um For like kind of directly but basically that includes Um, crc. So what happens is uh crc is code ready, uh containers, which is kind of like a single Laptop install of open shift And so what it does is it kind of sets that up and then it puts code ready workspaces on top of it as an operator So it should be the same exact experience. It's just kind of like how you get it Um, no j s a problem apparently is bigger than a bread box Uh, who knew? Uh, and norenda have just dropped in chat due to popular demand. This is from the website I'm assuming uh due to popular demand and repeated signups We are increasing the free trial period to 30 days. So that's good to know. Thank you norenda appreciate that Uh, jp date says there is an upper limit on the number of operators namespaces You can install on one cluster. I have hit it and it is giving me a timeout when I do something. Okay I mean these instances aren't huge, right? No, yeah, like your, you know, typical like six node, you know You know dozens of cpu kind of instances Um The Oh, I made it angry because I got ahead of it. Um, oh boy So Yeah, okay. Let me just delete mine because that will collide I kind of wondered why there was no files dropping in. Okay. So if you know anything about no j s This is a pretty basic setup for no j s Um, and so I kind of did a quick start, right? So that'll give me like a base no j s application Um, but I believe we should see it already over here and we do here's my broken maria db. We'll just kill that Um, but then we have now, uh, no j s that has been created over here. Um, and assuming it has fully deployed Theoretically we can get to my terrible new getting started website. Oh no fail Such fail such fail. I'm still digging up answers to questions for folks. So if you're in the chat, just everyone's very chatty today Well, they're asking they're asking very good questions that require research, which is You should just know all the things at all times. I know right, uh, but yeah the um The questions are great. So keep in common. Thank you All right, so this should be working. I don't know why it's working. So Yeah, it's doing here's a service port It has a route. Why doesn't it load? um Let's look at the logs Logs are always good JP date has his own Uh, level up our shirt. I wore mine last episode. I I think maybe it was one before that Um, I realized much of what's before that I almost wore my eye on today, but it was like Further back in the rotation the shirt shirt locker. It was like You know, well, here's what I do. It's it's kind of lame, but it's like, uh, you know I have like my deprecated shirts or almost deprecated shirts Right, like I know which ones I need to throw out based on how far to the right they are Yeah Yeah, I uh all my work polos far, right Yeah, yeah I uh, yeah, it's tough when uh, like I had a really really good shirt Um, and then the company did some very bad things Uh, and I was like, but now I can't wear the shirt And so I stopped wearing it. It was very sad and unfortunate. Um All right, so that seems loggy I really don't know what's going on. Like it really should be working um I wonder if this has to do with our No, because the route should be going to whether we're in code or dev or anything else It should still be working. Um Okay, you go the route is dead. Okay. So what's not running behind it? Yeah, it really just doesn't want to do its thing. Um to um Pod is running go to the logs For the pod. Yeah Yeah, this is where I was looking a minute ago It keeps changing ports Starting with proxies starting reverse proxies starting reverse proxies. So this might that might be a no j s thing Um, it tends to listen on multiple ports a lot of the time um I'm just trying to look at how it's but no, it's just app app.js. Uh, so it should be listening on port 30 3000 um I wonder if this is a it's not listening to all um Whatever we call interfaces. So like if you're running this on local host Um, but that seems like a weird example choice if that was true Uh, anybody know no j s well enough to know off top of their head What's the I think it's Oops Thank you, gentlemen Someone asked where to go buy shirts. Oh, oh, yeah. Yeah Yeah, apparently it's very hard to find. Um, so What am I looking for? Oh, listen No j s listen on all interfaces So this is the typical thing where it's like is it s e linux or is it a firewall or is it uh, you know, you're not listening to all tcp ip Yeah, so this is what I was wondering um If you don't specify the host we'll run on all interfaces. Okay, so Um, so it should be listening on all interfaces Um, that's what I was concerned about. I couldn't remember if no j s some of the languages Default to only listening to local host and some default to listening to everything Um, and I couldn't remember which one no j s was uh, and so it is listening theoretically on all interfaces Um, so that should be right um Let's just see what are all these containers Let's go look these containers Oh I wonder if it's angry because I was experimenting with something else in here. Oh, yeah, you might be I could be a wonder if I did it. Let's go where I know I've never built anything So we'll do a different project and see if um Wow, we're we're uh batting a thousand today. Oh, yeah I wonder what happens if I hit start debugging I have no idea all right, so Because there was no choice it's slowing down so Let's think about this. How did you deploy it? Well, that's the thing is I don't know because if I go to code ready workspaces here It's am I which project am I in? Well, that's the product that's what I'm trying to figure out like where's your stuff. Yeah Okay, so is that a project in workspaces or is that a project in I think this is a project in workspaces. Okay Um, and so does it tie to oh here we go laying in code. Yeah, there you go And then so how do I make one in a different one? I wonder in a different namespace you have to Say different namespace somewhere It's under code says Martin It's under code It's under code Where so I didn't know mo new so much about uh code ready workspaces She clearly knows more than us And the worst part is I've actually played with this before and had much better watch you would the env is under The code name and the open shift UI Oh Oops So you're in there it is says it's running Well, hmm. What is this? No, I'm curious. Oh, not not the kind of private cloud. I was thinking of All right, so that's wrong. I wonder if I can just kind of change the ammo Or just start a new one in the right place maybe Yeah, apparently Mo thought we were in the right place, but now I'm not seeing All right, we can do registries So apparently We should have had we we were going to try and get a guest this show. Um, but then we were like, ah, we'll figure it out. Um So, uh, yeah, apparently apparently I was wrong. We needed a guest. Um so if you So it's running in a workspace and that workspace is tied to a Open shift project, right? Right. So that part seems correct. Okay, you're in the line in code space container creating Yep, because I just restarted it. Um, which oops, which seems Correct. Um, I just don't I can't quite figure out how to tell code ready workspaces to switch to using a different, um Open shift namespace or open shift project project. Okay, so Uh And this seems like Something I should be able to figure out. So if you go into Administration there on the left This one All right, you can only add a registry. Okay. Yeah Then workspaces You should have two because you created two things I don't know why that is but whatever Still thinking about Yeah, I'm trying to get code ready up on my thing. You just deployed a node express app What do you what did you deploy projects wise? Oh, yeah node. It was a node.js, uh, express starter project Okay, so I'm wondering if So I'm in c-short dev This ends up C-short code. Okay, if I get a it works on my machine Just gonna switch cameras exactly That seems correct to me um Chat here This is high quality. So someone okay Mo says there is add project in code ready workspaces, but that's to add a get repo Yes, code ready workspaces are bound in the projects with those projects So Mo says project and open shift appears to be namespace and code ready workspaces. Okay interesting I think the crw ide the instance is bound to the open shift project itself i.e Your crw thing is in langton code already. That makes sense because right that's already right and so I think the promotion kind of activity right because the idea is Is you know code dev stage? I think that takes place in Open shift Land so the default app does not I mean yes, it creates a route But there's nothing there the application is not available for me as well So did you oh put something that would make it display a page or something yet? Probably not Well, this should be showing uh a default Like at slash it should be saying hello world. Yeah, okay Let's make sure The route points to what? So the route I think points the service Service yes, no gs service, which is running on server 3000 The server yep, okay Pod selector, I don't need that labels them that also put them real quick And is there a pod that's actually doing something? Yeah, like that's what I'm trying to figure out right like So service. Yeah, it's great that it's a service and it's up and running and it's supposed to be HTTP Right, which it is because it is responding. It's just responding with a four or four essentially so I think you trying to switch anything like project and Namespace and workspace and all that stuff like it's in code like that's just where it starts, right? Right, but you start to the code namespace which makes sense because all of your coders would live in the code project, right? Right, right, that's what I was gonna say And it's like I think the deployment or like the promotion activity Is something that takes place in the open shift side not in the workspaces side, which makes sense to me But I feel like we should be able to access I'm gonna look at the pod real quick this one anyway event You know because the route is pointing at the service But it just doesn't leak it and I'm not sure And why shell on inside the pod? PS even on this box. Nope. Never mind for pod. I say box even though it's a container Yeah, I can't get I can't get past that it's still a box in theory, but like it's like service I don't say container. I just say box, right? Like just like I would say vm, right? Right? It's weird Uh, no, nothing. What do you got for me? It really does seem like it should be working. I don't really Know what the deal is Clearly the the thing I prepped to do was not this And uh, so maybe I don't know if we should go play with that So con and kudo does point out that we do have a bunch of VS code extensions and one of them is for open shift. So if you were in your IDE Outside of this box, you could you know use that connector to connect to the sentence and use your IDE for everything that we're doing um Oh, yeah Um, I don't know if I have the extension installed because I don't hack them says it's not specifying the port in the url No, it's not because the route points to the service Right, so that route is saying hey service You're running on 3000 great. I don't care. It's just going to create a link into that service whatever port it's pointing on So the routes are a little bit more than the ingress like to have a little bit more knowledge So if you point her out to a service and the service is actively running and working It should just work like hello world should show up, but it's not for some reason I mean we could try it, but I don't think yeah, I think it should just work I thought Who knew So let me just get to the Okay, thinking it's fully thinking and spun up We have 10 if this works. I'll be really annoyed. I'm still getting a 404 All right, that looks like it's doing a straight up timeout rather than um, like this is an application error Uh, this looks like it's getting a straight timeout. That's why it's taking so long Okay, so maybe you need to blow yours away Start anew maybe Like it didn't deploy correctly or something. I yeah, I think I tried that already. I mean, I didn't try like killing the entire project um, but I did try Rebuilding the pod Um Oops So if you go here Can't we do You know, we could always try a different thing too. Well, that's what I was going to say was um, I did I was going to talk about Hogan there um But I was going to see if uh, you know kind of try this one last thing um But apparently we're going to need another episode about the sandbox where uh We spend some more time messing with it Because I know how to get kind of in general You know stuff working in open shift Um, I think I and I've even used code ready workspaces for it before I'm not really sure why I'm having so much trouble. I think it's just I don't know something stupid Well, I think it's just they're like The environments you use to work in in Langdon are like aws, you know, large like, you know, our hpds maybe right where there's tons of Capabilities and you can just find stuff super easy because you're like directly logged in there is an abstraction here that we Don't necessarily know about right. Yeah, I kind of wonder if it's yeah If it's that although I I still go back to the it is highly likely that I'm an idiot and missing something really obvious Um, that is entirely possible too. So like it could also be it seems like maybe in the chat some other people have been trying it and um Oh, maybe like errors. Okay. Yeah, maybe node is what's busted I wonder if we could try and run this That being the problem I'm actually gonna do the debug It says attached to remote is running I hit refresh on this page Nope four four. Okay That sucks. Oh cannot connect runtime process time out 10 000 milliseconds That's connection refused error Interesting. Okay. So this might have been the wrong thing to use If you notice your workspace has an error top line Uh-huh So maybe it was just this particular thing Which kind of stinks Yeah, I hate that Yeah that JS file should just be hello world So if we Okay, so that's a like thing we need to go back to the team with and be like Hey, this doesn't do what it says it's supposed to do right out of the box Right, right. Um So what if we so what I'm not sure of is how do I like pulling a helm truck for something or you know Something crazy like that And this one doesn't want to let me delete it because it's just because it's running Um, yeah, it's always going to try to but I wanted to kind of get the Yeah, some of the stuff out of the way just add another workspace Pull it in All right, so add workspace No, we don't want to do it that way we want to do it. Yeah, that's I mean like go to the And then I don't know python Or did you say did you have something in mind or like go back to uh Open shift itself and do an ad Right above. Yeah, and like just pulling a helm chart somewhere or operator backs, you know anything Let's see. Do we see any cool home charts in here? Quarkus, uh, here's another no jess one. Um, try the quarkus one. All right, let's try quarkus I don't think I've ever like like read the well never mind. I was gonna say read the documentation first. What? Have you met me So you need a pull secret, right? Oh pretty reckless. So this is not like a great thing for us to try out. Yeah. Yeah Um, that's I mean, it's a little bit of a problem with the uh, oh look no jess though does not require anything Um, so all right. I'm trying to do something in python smile says All right, let's do let's try it this way and see if it was purely the no jess one that was angry. Yeah um, let's make sure This is our new python one, right? Yeah, okay I think AP date says, you know, they have the nicotine patches. They need to invent a caffeine patch I'm sure there is one somewhere there. Uh, I mean, isn't that what like no doses? Well, yeah, kind of but that's like Well, it is just a caffeine pill. Yeah, um, I like the coffee though Moe says so in coderty workspaces on the right hand panel, there's the 3d cube icon You click on run web app and you get the errors. Okay. Good point um Cannot find express module. Yeah, like there's something wrong with that setup dealio Uh jp date says rtfm Yes, that's that's how you can tell that I think jp date comes from a an administrator background Right, whereas I come from a developer background where it's just like, yeah, whatever we get So just to you know for everybody's awareness rtfm has kind of been considered a You know, not inclusive term anymore Wait, it was ever. No, it was never an inclusive term Like because let's face it right like open the man page forget. Um, three. Oh, I thought you meant the probably different Well that yeah, but like I'm talking about the actual manuals are oh, okay Like yeah, either a there's so many different manuals. You don't know which version to pick from or b The manual is your documentation, which is probably not up to date So like although I thought one of the things that was really interesting that came up in the subscription show last time Was the suggestion that if you ever want to go take one of the certifications Don't study for it using web browser study for it using like man pages And basically the only things you can get to from the command line, right which That would I don't know that that would have occurred to me, but I thought that was a really brilliant recommendation Courses, I you know, like when I have ever taken a red hat exam I have always said here's my vm Here's like I try to recreate the you know quote classroom environment that we would have So like it would be like a vm with just the packages installed that would be installed on the node in the classroom Obviously you have to know that but like for ansible. It's really simple. It's just ansible and you have docs and man pages for ansible That are available to you including a full html version if you go look and find it right place You can pull that up and click around and you're good All right, so hello world dot pi if you run it what happens hello world. That's good Now make this is an open shift a website. This is just a print your like is it gonna make a route like what is this gonna do click on it and It's a pod it has does it have a service we can make a route for it No routes No, because there's nothing listening. There's no web server here I'm not well go back Well, we're all those services them It like the project created the service. Oh, no, these are the no jest. No, are these the no jest Some of the same wt proxy like oh, no, you know what this is a route to that No, these are or I I think these are the Code ready workspaces Services to do loop backing on debugging That would make sense. So it's actually running the stuff that's in here, right? So question is can you make a new service And then point a route to it But there's there's no server to go to is the problem right that's we have to get to right like No, no, no, like like there's no python is not listening on any port or anything else. It's literally no, I know Oh Right, like you'd have to drop in like a code snippet or something for like, you know, right, right as HTTP on port whatever and then create that service and then Point a route to that service and hopefully it works All right, uh, we'll get a cone and kudo to type something in that command line that will give me a quick and easy web server Like I probably could Here we go. Is this microsoft? Oh god, I thought that was would have been lance. Oh, it's mdm. Oh, we landed on the same page Look at that. Um, oh, right. We could do it. So python 3-m hpp.server or python m dash simple htp server, but it's got to be It would have to be another pod Right, or we'd have to do it like what we don't want to do is kind of I mean we could shell execute to python um We also need to do it to Um, so what is it import? There we go. I think that's the way work So, uh, yeah, like are you pulling in flask or something? I don't know. Oh boy Um, and then I think it's like Uh, let's see issue my server universe unite As we talked about with dan walsh Uh, nobody ever actually writes any code. Uh, this is what I was looking for. There you go Yeah, this should work. Let's make this, uh, just behind thousand remember the point Yeah, just remember the port number Yeah, I just want to make sure it's like nice and non collidy. Yeah um All right, so that should work let's say I wonder if I never clicked start without debugging. I wonder if it was somehow like not running or something Right, as well. It would have been an error somewhere that we would have seen in open shift So it just queried me over here, um, on It's redirect is now enabled external url is blah blah blah blah blah. Go ahead open it That you're ridiculous. Come on There it is folks Kinda Kinda no, that's not the python app at all. That's a direct. Yeah, that's that's literally the direct Uh, all right, but it is listening theoretically on port 9 000. So that part we should be able to Fix back if it made a route No, so not gonna make a route. We have to make the route ourselves I thought what I was agreeing to in code ready workspaces there was to afraid to make a route Um, okay scroll up on the right hand side there scroll back up. Oh, wow hit actions Yeah And then it's Not at health check. Oh, it's not in there. Okay, cool. It's somewhere. I was looking at this the other day Um, I think I actually filed a bug about this. Um, that there should be an ad route here and there isn't Well, you have a service first. I think That's serving probably a little world. So you need to go in and say is there an ad service? You have to go into admin add a service It would be under workloads. It's a network. So, yeah, there you go. Nevermind And so create Whoa, I don't want to do that. I want to set her out. Let's see what happens Oh, okay. Um, let's try python hp And no path no path And I think you can do oh Fail, I totally thought you could you have to create a service first. You were right I thought we could do it So what you have to do is say like just do all this. This is fine. You know, wait. No, this is this is external Right, and then this is external. This is internal. Yeah, so your 9 000 goes there I mean if you want to name it something other than example, you know, whatever Oh, wait, no Uh Need something from vs or not vs code work code ready work faces But what's the selector gonna be? go Do you have another tab with the dev view? And so it's gonna there you go. Hmm. Oh, there it goes I thought it was just blank white. Um, but there is a little like dealio happening there. Um So Then This That's just the name. There's the pod selectors right there So I would think it'd be one of those but maybe not No, definitely not that because that's the code ready workspace part. This is weird No offense to everybody that's worked on this. This is weird Resources so if there's creating a service This is to the go to the yaml Yes All right, so annotations scroll down Is this no, this is the workspace crap still never mind. I want to see the pod stuff Right like the the actual working And it should now be running right because I mean we see it here, right, right But it's running the crw not necessarily an open shift Right, so is there uh exposed somehow? I don't know. It's kind of like Like do you is there like? I was thinking there'd be like a deploy button Maybe I don't know I don't know enough about code ready workspaces to be honest with you. Yeah, I totally thought I Done this before But maybe I I might have only used it local like on like pod man rather than through open shift Okay, so we do need to get a crw expert on the job. I think so. I think so I think we're gonna we should probably call it a day because we have done you got points to do buddy. Yeah Um, and uh, we're already over finish on a high note points already Exactly Um, sorry trying to find the right window. Um So Well, you know, actually one of the things I wanted to bring up is the good old college try Was we have had a lot of guests on the show lately um, and You know, do we like having lots of guests or do we also want to do more of this craziness? Normally, we do a better job. I think of we should have a feedback form for the show We could have in fact, we do it's on github. Um, where you can file issues Or maybe we should do a separate form. Um So, uh jp day it says we should definitely have a crw expert. Uh, did you expose it? No, uh No, so I don't but like the there's no like running we couldn't find a running pod of the code So we think that the pod is like running over in sorry the container at least right is running over in crw and I don't think we told crw to push the container into Open shift even you know what the real question is is jp day to crw expert and could we just bring him on? exactly, exactly Uh Detective kota kudo points out that he likes to see langen in particular fail at things. Um, well, he said and chris short Yes. Yes. Um, and uh, especially, uh, where I'm bad at Uh, yeah, and he feels better about being bad at open shift Usually I'm a little bit better. Yeah, no, you're like you must be off your game today or something man. Yeah, I mean, I have an excuse I burned the shit out of myself. Sorry for my language I like burned the bejesus out of myself literally right before the show making coffee. So oh, yeah Yeah, I could not perhaps because I was tending to wounds. Uh, and jp day does not crw experts So we'll find our own All right. Well, we will we will revisit this and do a better job. Uh, next time I really thought I was going to have I Because I had actually prepped uh with this project called huggin or hoogan. I think it's how you say it Um, which is like if this said that, uh for that you can kind of deploy yourself And I thought the only problem I was running into was um, uh, basically manipulating a database But I think it was actually way worse than that. So, uh, so looking at looking at the template you deployed Yeah, it was yeah. Well, and I I think the other thing is like Um One of the real values developer sandbox is actually getting code ready workspaces And I didn't really think about that until we started talking about it on the show And I have not done a whole lot of experimentation jp dead says he got it running somehow Um, so feel free to uh, see yeah Yeah Yeah, show us and show us an an issue or pr something Yeah, like if you want to pr and how you did it just like like literally five bullet list or whatever. Yeah All right points. Anyway points um So as kind of expected, uh neurology, you know up another hundred points, uh, now let's hack them up another hundred points No friction. I think also up another hundred points. Uh, I think joe fuzz did not do Um, the last show, I think it was somebody somebody did not go up, uh, which I was a little surprised by um Detective konokudo had a big jump because he hit one of the risers. Um And uh, I just sorry shout out jp dead. Uh, yeah, I also love visual studio code. I think it's a really good idea I really expect to see it to be the winner. Um, and then bacon fork who I just saw Tell me that I should go make another pot of coffee, which I I completely agree with. Um, is also still definitely the running. So you should get your I guess escalator is is a good word for it or riser if you come from a like a sales background. Um But basically if you if you hit a certain number up, so as you get bonus points is basically a well-stander So if you want today's points, um, I just put the links in the in the chat Um, yeah, thank you and through the magic of restream. We should be getting uh, getting those to go across. Um And I don't know. Let's uh Like wow jp. It's been a while since we failed so nicely on the show. Um, so it it brings us back to our roots um, but yeah, we would actually had to have Persistent volume of persistent volume claim and put it in a separate namespace and start working Oh weird Yeah, like I said, I I still think I need to figure that out. I'm clicking some Button, I'm not clicking some stupid button that is uh, anyways making it not work. We'll debug that We'll get that cleaned up. Exactly. We'll bring on a crw expert to teach us a little bit more about it How about that? Well, and and I think one of the things, um Would be important is, you know, if anybody else on the show Or anybody in the audience can experiment with it, uh, as well Um, I think it'd be really great to give some feedback to the crw folks because I know they don't get a whole lot Um, you know, and so if we can kind of tell them our experience with it, uh, that kind of thing we can, uh, You know make the product better so That's our show Yeah, thank you everybody. We appreciate you tuning in to watch us fall flat on our face Yeah, if you want to watch potentially more face falling, uh, you can tune in here at 11 Eastern or 1600 utc for ask an open shift admin. We'll be talking about ecd Which is kind of like the the beating heart of kubernetes So if you want to see a bunch of epic failures happen, we're going to mess around with that Well, I thought actually specifically I thought you were going to talk about how to Deal with ecd failure, right exactly like we andrew has it this could turn into multiple shows because the Way is it to the outline I saw it yesterday before I like logged off for the day was already up to three pages So yeah, it could be a multi episode thing. So yeah, right definitely stay tuned in for the channel We'll be digging into ecd Open shift commons is bringing us. Oh come on work, uh, is bringing us Talking about security across multi and hybrid clouds and then later today The red hat enterprise linux presents. We'll be talking about migrating to rel And that'll be it for the channel today And so just remember lineup No episode next week, uh, but then we'll be doing podman v3, uh the week after so, um, Which is uh march 24th Yes, um, so we look forward to y'all coming back Yes, and uh, we'll find a crw expert Exactly. All right. All right y'all. Thanks. We appreciate you tuning in. Uh, stay tuned and we'll be back with more fun stuff Bye y'all