1 00:00:01,540 --> 00:00:06,400 It looks like everything inside of my deployment process went as expected, so I built the image, pushed 2 00:00:06,400 --> 00:00:08,380 off to Docker Hub, restarted the deployment. 3 00:00:08,750 --> 00:00:14,330 And if I go back over to my terminal, I should be able to do a cube CDL get pods I should build to 4 00:00:14,340 --> 00:00:16,300 find the running orthopod right here. 5 00:00:17,310 --> 00:00:20,870 And I'm going to try to pull logs from that pod when I pull logs. 6 00:00:20,900 --> 00:00:22,430 I should see a startup message. 7 00:00:22,660 --> 00:00:25,920 It looks identical to the one we just authored back inside of its indexed, not T. 8 00:00:25,920 --> 00:00:26,380 S file. 9 00:00:26,990 --> 00:00:29,540 Though starting up with about eight dots or so. 10 00:00:30,880 --> 00:00:36,670 So to pull logs from that pod right there, I'm going to do a QVC T.L. logs and then I'll paste in the 11 00:00:36,670 --> 00:00:37,780 name of that pod. 12 00:00:40,500 --> 00:00:41,100 And there we go. 13 00:00:41,190 --> 00:00:45,000 So we've got starting up with the appropriate number of dots, which means we have deployed the latest 14 00:00:45,000 --> 00:00:46,350 version of our service. 15 00:00:47,160 --> 00:00:48,480 Well, this looks pretty fantastic. 16 00:00:49,480 --> 00:00:54,300 Now, the last thing we really have to do here, besides a little bit of networking for ingress in Gen 17 00:00:54,300 --> 00:01:00,040 X, you have to go around to all of our other services and create a very similar deployment file for 18 00:01:00,040 --> 00:01:00,850 them as well. 19 00:01:01,600 --> 00:01:03,580 We'll make this change directly on GitHub. 20 00:01:03,670 --> 00:01:04,870 So we'll just use the built and get hub. 21 00:01:04,980 --> 00:01:10,570 Ed, we're essentially going to duplicate that deployment off file that we had created just a moment 22 00:01:10,570 --> 00:01:12,550 ago to back on GitHub. 23 00:01:12,650 --> 00:01:13,780 I'm going to go to my code tab. 24 00:01:15,980 --> 00:01:18,200 I'm going to find Dodd, get Hubb slash workflows. 25 00:01:19,760 --> 00:01:22,310 I'm going to open up, deploy off dot Yamal. 26 00:01:24,090 --> 00:01:29,650 And then we're going to copy everything inside of your into about five other files in total, I think. 27 00:01:30,830 --> 00:01:33,700 You have to create one for client tickets, payment. 28 00:01:33,860 --> 00:01:34,450 All that stuff. 29 00:01:34,820 --> 00:01:35,220 And you know what? 30 00:01:35,240 --> 00:01:39,140 Now that I mentioned that using the built in GitHub, Ed is prolly can be a little bit of a pain. 31 00:01:39,490 --> 00:01:44,510 So how about instead we just copy this and create some Yamal files inside of our workflows directory 32 00:01:44,780 --> 00:01:47,690 inside of our local ED rather than using the get hub one. 33 00:01:48,440 --> 00:01:53,360 That just means we're going to have to do another push directly to our master branch, which is OK in 34 00:01:53,360 --> 00:01:53,960 this case. 35 00:01:55,130 --> 00:01:55,310 All right. 36 00:01:55,340 --> 00:01:59,150 So I'm going to copy everything we see inside of your well, then go backwards, my terminal. 37 00:01:59,570 --> 00:02:00,940 I want to make sure I check out M.. 38 00:02:01,670 --> 00:02:03,050 And just be careful. 39 00:02:03,050 --> 00:02:07,760 I'm going to pull down all the changes once again because I keep trying to push after forgetting to 40 00:02:07,760 --> 00:02:08,090 pull. 41 00:02:10,170 --> 00:02:11,310 Then back inside of our Ed. 42 00:02:12,660 --> 00:02:15,090 We can find that dot get hub workflows directory. 43 00:02:17,270 --> 00:02:22,990 Doonside, if you're going to create a collection of different deploy files or client orders, tickets, 44 00:02:22,990 --> 00:02:28,210 payments and expiration so of workflows, make a new file of deploy dash. 45 00:02:28,390 --> 00:02:29,830 Client thought Yamal. 46 00:02:31,370 --> 00:02:34,010 I'll make another one of deploy orders. 47 00:02:37,170 --> 00:02:38,460 Deploy tickets. 48 00:02:41,200 --> 00:02:41,890 Deploy. 49 00:02:43,020 --> 00:02:43,590 Immense. 50 00:02:46,530 --> 00:02:48,840 And deploy exploration. 51 00:02:52,710 --> 00:02:55,890 All right, so a couple of different files here where you have to go through each one and just paste 52 00:02:55,890 --> 00:03:00,330 in all that stuff that we just copied and make a couple of changes to just a couple of different properties 53 00:03:00,330 --> 00:03:00,830 inside there. 54 00:03:01,110 --> 00:03:05,550 We're pretty much just fixing up the name because you've got a lot of references to off inside the script. 55 00:03:05,830 --> 00:03:09,390 We just need to update those references to whatever we're actually trying to reference. 56 00:03:11,210 --> 00:03:12,740 All right, so back inside. 57 00:03:12,800 --> 00:03:14,930 Let's start with how about our client deployment file? 58 00:03:15,660 --> 00:03:17,010 So deploy client YAML. 59 00:03:17,550 --> 00:03:19,940 I'm going to paste all that stuff that we just copied inside of your. 60 00:03:22,820 --> 00:03:28,700 We're then going to go through and replace every reference to off with client, so client. 61 00:03:29,990 --> 00:03:30,520 Wyant. 62 00:03:32,330 --> 00:03:33,780 Wyant, that's three. 63 00:03:35,020 --> 00:03:35,920 Here is for. 64 00:03:37,590 --> 00:03:38,370 Year five. 65 00:03:40,050 --> 00:03:41,370 And here's six. 66 00:03:43,960 --> 00:03:48,220 So if I do a find inside of here and look for off, I should get no results. 67 00:03:50,510 --> 00:03:52,210 I'm going to say that file and close it. 68 00:03:53,260 --> 00:03:54,140 We'll move on to. 69 00:03:54,160 --> 00:03:55,480 How about expiration next? 70 00:03:57,060 --> 00:03:59,860 So inside of the deploy expiration file, I'm going to do another paste. 71 00:04:00,780 --> 00:04:04,990 We're gonna make sure that we change six instances of off over to expiration. 72 00:04:05,820 --> 00:04:07,810 In this case, I'm going to do a multi select. 73 00:04:08,440 --> 00:04:14,050 There's one, two, three or five and six. 74 00:04:14,570 --> 00:04:16,420 I'm gonna change all six to expiration. 75 00:04:18,720 --> 00:04:21,900 Once again, I should go to do a find inside of here for off and find nothing. 76 00:04:24,250 --> 00:04:24,850 What's next? 77 00:04:24,880 --> 00:04:28,170 We got our orders file the deploy orders, not YAML. 78 00:04:28,210 --> 00:04:32,620 I'll do a Paiste one, two, three, four, five and six. 79 00:04:32,770 --> 00:04:33,940 Change them all over to orders. 80 00:04:35,900 --> 00:04:38,750 Again, do a search for off, make sure I get zero results. 81 00:04:42,970 --> 00:04:45,310 Onto your payments, they'll do a Paiste. 82 00:04:46,370 --> 00:04:52,010 One, two, three, four, five and six over the payments, as usual. 83 00:04:52,190 --> 00:04:54,440 Do a search for art, make sure I got zero results. 84 00:04:55,870 --> 00:04:56,770 Save that and close it. 85 00:04:56,860 --> 00:04:58,180 And we are on to our last one. 86 00:04:58,240 --> 00:05:00,190 The diploid tickets YAML file. 87 00:05:00,880 --> 00:05:01,780 We'll do another Paiste. 88 00:05:03,870 --> 00:05:11,780 One, two, three, four, five and six change them two tickets, and that should be at one more quick 89 00:05:11,790 --> 00:05:12,300 check here. 90 00:05:12,330 --> 00:05:14,460 Just make sure we don't have the word off inside this file. 91 00:05:15,640 --> 00:05:15,840 All right. 92 00:05:15,870 --> 00:05:17,260 So that should be at this point. 93 00:05:17,530 --> 00:05:21,640 This is another location where I can guarantee you a lot of people are going to forget to change the 94 00:05:21,640 --> 00:05:23,680 word off inside of one of these files. 95 00:05:24,220 --> 00:05:25,110 Just I guarantee it. 96 00:05:25,660 --> 00:05:31,120 So it really would be worth your time to double check the deploy files that we just created. 97 00:05:31,180 --> 00:05:31,780 All five of them. 98 00:05:32,210 --> 00:05:33,070 And just double check. 99 00:05:33,100 --> 00:05:35,680 Make sure you do not have the word off inside of any of them. 100 00:05:36,340 --> 00:05:40,030 An easier way to do this would be to do a find on the workflows directory. 101 00:05:41,580 --> 00:05:47,140 So inside the workflows folder, I can do a search for off and I should only find results inside of 102 00:05:47,140 --> 00:05:49,330 deploy off and test off. 103 00:05:53,740 --> 00:05:54,550 All right, Salix, good. 104 00:05:55,450 --> 00:05:58,600 Now, once again, we're going to commit these changes directly to master and push them up. 105 00:05:58,960 --> 00:06:03,000 We can then try to make a change to each of these different services, create a PR for all them dumb, 106 00:06:03,370 --> 00:06:07,390 merge the PR and make sure that all these changes actually get deployed into our cluster. 107 00:06:09,990 --> 00:06:10,810 So back to my terminal. 108 00:06:10,980 --> 00:06:13,630 I'll do it, get status while on the master branch. 109 00:06:14,110 --> 00:06:16,180 I should see the five deployed files we just created. 110 00:06:17,280 --> 00:06:18,340 I'll add all five of them. 111 00:06:20,160 --> 00:06:21,720 And commit them. 112 00:06:27,590 --> 00:06:28,520 And then push off. 113 00:06:30,610 --> 00:06:35,230 Now, again, because we are pushing directly to master our reclose, are going to immediately run for 114 00:06:35,230 --> 00:06:36,910 all five of those different files. 115 00:06:37,600 --> 00:06:41,350 We should see new deployments or jobs running for all five. 116 00:06:41,950 --> 00:06:45,100 But in this case, remember, the one thing to keep in mind as well is that we do have a filter in there 117 00:06:45,100 --> 00:06:48,730 to make sure that we only try to do a deployment or run those workflows. 118 00:06:48,970 --> 00:06:51,250 If something changed inside the respective services. 119 00:06:51,790 --> 00:06:55,360 So actually, on second thought, we probably won't see any deployments running at all at this point. 120 00:06:55,390 --> 00:07:00,310 We actually do have to make a change to all five services and commit them, make the full request, 121 00:07:00,370 --> 00:07:04,060 merge the request to actually trigger a change inside those directories. 122 00:07:04,270 --> 00:07:06,550 And that finally is going to run our actual workflows. 123 00:07:07,510 --> 00:07:11,220 So let's take a pause right here and take a shot at that in the next video.