All right. Okay, so let's say Trump magically gets impeached. We have cheering in the streets, ding-dong the witch is dead, praise the constitution, praise our system, praise our founding fathers, praise our mainstream media, they did their job. Aren't we great? Nobody's above the law. Good for us. The system works. No, the system works for the richest one percent. While this clown show was going on in the Justice Department, while this celebration of our rule of law dominates the news cycle. Underneath it all, the plutocrats who installed Donald Trump are carrying on doing serious damage to our planet, killing our planet, displacing millions of third world people due to drought, famine and flooding, all in the name of profits, all in the name of some kind of conservative Christianity hijacked by a twisted book of revelations death cult whose disciples include Betsy DeVoe or DeVos are, she's our uneducated secretary of education.   He's the head of the Department of Energy. Alex Koch is an independent investigative journalist. You can follow him on Twitter at Alex Koch or go to his website, AlexKoch.com. That's K-O-T-C-H and he had a magnificent piece in alternate yesterday. He did some heavy lifting. It's called Rick Perry's early days as energy secretary, have been a bonanza for corporations and the Koch brothers. Welcome, Alex Koch. Thanks so much for having me. Well, thank you for doing this. You do heavy lifting. It's a lot of fun to watch the soap opera that's going on inside the Justice Department and Congress, will he or will he not be impeached? And it's important, but underneath it all, the people who installed Donald Trump, much like the people who installed George W. Bush, are getting exactly what they want. Right, yeah. I mean, it's pretty astounding how much special interests have infiltrated the White House and the agencies, especially those connected to Charles and David Koch, who are the billionaire industrialists who operate many businesses under the kind of banner of Koch Industries, including fossil fuel, oil, and gas refining businesses. I've definitely found some Koch links in the Department of Energy as Perry, you know, once Perry was confirmed and they're beginning to staff the agency. Right.   Yeah, I mean, you know, look, Rick Perry distinguished himself in 2012 during the Republican presidential primary where he said famously at a debate, a televised debate against his opponents, that he wanted to eliminate three federal agencies. And when he got to the third one, he forgot the name of it. And then we found out later that it was actually the Department of Energy he wanted to eliminate. I actually think based on just doing some reading that he didn't realize what the department does. So, you know, when he was nominated by Trump, it was pretty surprising considering this is a guy he wanted to end the agency, surprising on one hand and more kind of telling on the other of Trump's policy preferences. It sounds like once Perry kind of realized, oh, it's not totally about domestic energy. It's also about nuclear and protecting the nuclear arsenal that the United States has. I think he got more interested in it. But regardless, yeah, I don't think he's the brightest bulb on the tree. He went before his confirmation hearings and he issued a statement apologizing for wanting to eliminate the Department of Energy because, as you just said, I didn't know what it did. Here's a guy who was who wanted to be president even though he didn't know what the Department of Energy did. He had no problem calling for its elimination.   And they confirmed him.  So, you cannot talk the way I do. But I can talk the way I do. I don't want to paint you in a corner and put you in an uncomfortable position before we get to the meat of your story. There is virtue in the Republican Party.  And then somebody else is running the show. And that's kind of what you're implying in your story. Was Rick Perry, wasn't he an all of the above energy guy before he became head of the Department of Energy? Yeah, I do think that's kind of his general philosophy. I'd say he's an all of the above energy guy with kind of a preference towards fossil fuels. As governor of Texas for 14 years, he accepted lots of campaign donations, millions of dollars from the fossil fuel industry, coal, oil, and gas. He certainly has a lot of friends in that industry. But he also oversaw an expansion of wind energy in Texas, a pretty major one. It was begun actually by George W. Bush. But Perry didn't halt it. He kept it going. And they have a pretty nice wind energy portfolio down there, as well as a renewable portfolio standard that he signed. So he has done some things to advance clean energy. But I would definitely say that in general, he certainly favors the fossil fuels and their kind of power and political influence. When he got to the Department of Energy 90 days ago, who has he been hiring? Has he been hiring people who are in favor of wind and solar? No. And it's hard to know some of the lower level hires. They're harder to, they don't really announce them, they're harder to find out. But some of the more high-profile hires are pretty troubling for anyone who wants the earth to continue to be a safe place to live and to support life forms. So I'll first talk about Travis Fisher. He was maybe a researcher and columnist at a think tank called the Institute for Energy Research. And that's funded by wealthy conservatives, including the Koch brothers. It was basically a sort of fossil fuel energy shop. And so he wrote columns opposing renewable energy and defending fossil fuels when he was there. Now he's a staffer at the Department of Energy. And actually, Rick Perry tasked him with overseeing a study that Perry just requested on whether clean energy programs are hindering coal and nuclear programs. In other words, it appears to be an effort to undermine renewable programs by sort of claiming that they are costing the traditional fossil fuel industry industry. Excuse me for one second. That's just a blatant patronage, isn't it? I mean, the only way they're costing them is they're more desirable to the consumer. How else would they be a cost to fossil fuels? Yeah. And you know, a lot of the number of Democratic senators wrote a letter to Perry, I believe, and it was it was talking about their how their disapproval of this.  There's a glut of natural gas in this country, which by the way, you know, just just the mining of itself is a huge greenhouse gas contributor with the methane emissions, which is often, you know, overseeing when people claim that gas is cleaner than oil. But the point is, you know, these these are some kind of truth telling senators who are saying, look, I mean, you're clearly trying to, you know, provide the wrong answer to an easy question because you want to favor the traditional fossil fuel industry. Are we finding out that there are more jobs right now in solar than there are in coal? I believe so. I don't know for a fact, but I'm pretty sure I read that recently. It makes a lot of sense. Yeah. You would think then that that would be the direction we would be moving since you want to protect the people with the most jobs. And it seems to be in solar and wind, not coal, but coal tends to be white men in blackface with dirty hands. And there's something rugged about that. It's more evocative of an America that we lost. And that's why the Republicans seem to want it. Plus the fossil fuel industry controls the Republican Party. Who is Brian McCormick? Right. He's the chief of staff. So he has a lot of control over things over there in the Department of Energy. He is a former vice president of political and external affairs at the Edison Electric Institute. This is a trade group for big utility companies. It's very anti-solar energy, for example. And it gets contributions from usual suspects on the right. Actually, when he was there, he was part of the Institute's anti-solar campaign. They've been trying to get rid of residential solar, rooftop solar options for a while now, because that threatens the large energy corporations who maintain the grids and supply energy through non-manuable sources, generally, to consumers. So they see that as a threat. So this trade group has been fighting that at the state level in many states, trying to pass laws that basically will put those programs out of business, undue taxes and things on the residents. So now that he's the chief of staff, he'll be kind of governing a lot of what's going on there. He can help shape the energy solar policy when he's there. I mean, he's clearly someone with a record of opposing solar energy in favor of oil and gas and coal. Is it fair to say that he's probably more influential over energy than Rick Perry is? I don't actually know the answer to that question, but I think it's just based on a lot of other administrations, other agencies. I mean, chiefs of staff generally, I think it depends on who's leading it. But chiefs of staff often, they do deal with a lot of duties over there. So I imagine, I certainly, in my research, I found an article that said that he will most likely help shape the solar policy. Do you think that they will have hobbled clean energy? Maybe about a third of what they do or a fraction of what they do, but still somewhat substantial, is kind of overseeing energy efficiency and renewable energy programs. They give out grants, they put out standards and things like that. They have an office. It's called the Office of Efficiency and Renewable Energy. Now, the new head of that is going to be a guy named Dan Simmons, who is vice president of policy at the Institute for Energy Research. So as I described earlier, they are very opposed to renewable energy in general. So that's a very bad sign. But on the other hand, it's kind of interesting. But currently, foreign energy has been touting its energy efficiency and renewable programs actually on social media, as well as its own blog, and actually touting the increased renewable energy jobs that have been appearing. So it's kind of mixed messages. On the one hand, you've got kind of the social media strategy and this blogging strategy that hasn't really changed under Perry yet. But now the guy is going to lead that agency as an opponent of renewables. So I don't think the future looks terribly good. Yeah. What is Energy Star? Energy Star is one program. It puts out kind of certifications, I guess, for energy efficiency for businesses and for buildings, things like that. It's been very successful, reportedly. And it's something that the Department of Energy has generally been pretty proud of. And so they're actually still promoting it, while Trump wants to get rid of it entirely. Trump's put out a, but there was a budget blueprint and now I think he's kind of they're leaking their actual budget proposal. So I mean, Trump, the Trump administration wants to cut enormous amounts from that program, the Energy Star, but also just a lot of other programs within the office of efficiency and renewables. So we'll see if that gets through Congress next through the end of this year, because Congress recently passed a budget that funds the agency and funds for the government until the end of 2017, which didn't have major cuts to the Department of Energy. But we could see some bigger ones going into next year. We have Pruitt over at the EPA, who just, as Attorney General, I believe in Oklahoma, would just copy and paste briefings from Alec or the coal industry. Yeah, he did that with a Devon Energy request. He literally did that. He copied and pasted from the lobbyist.  What does that mean? Yeah, so what he did was he went over there in April for a G7 summit in Italy, and the other six G7 nations signed an agreement that just kind of reaffirmed their commitment to the 2015 Paris International Climate Agreement. But Rick Perry, he didn't outright refuse, but he said we're still in the evaluation phase, and so we don't know if we'd like to continue to support this. Trump has said very openly that he wants the United States to leave the Paris Climate Agreement. And because of our country's stature, if we leave it, it's basically, as far as I understand, it's going to be hauled, if not basically over, that you can't have an international climate agreement without the United States. So that's not looking good either for climate. I'm reading today about the Antarctic ice sheets peeling off. Is it called calving? Calving into the ocean? The clock is ticking. I know this is an unfair question. You're an investigative journalist, but you can't get into these minds of Rex Tillerson, former head of Exxon, who's now over at state. Don't they know what's going on? How do they sleep at night? I ask myself this question all the time. And I mean, I don't think I know. I don't think I have an answer to this. But I do. I mean, I think what you and I and many people who follow politics know quite well is that money and power really tends to be the driver of policy. It's not very often these days that you have policy that actually is just purely good for the public. And there's no political interest involved. And there's no money involved. Unfortunately, we have this system in America where we have a lot of corporations and their executives who are heavily involved in election and electoral politics. They're able to give enormous sums of money towards campaigns or towards outside groups that spend in campaigns. And they're able to lobby in millions of millions of dollars every year, lobby these Congresspeople, many of whom they probably helped put in office. So you've got, there's not a ton of incentive for, you know, for, for example, for Republicans in the House or the Senate right now to go against sort of the preferences of fossil fuel companies unless they appeal to, you know, unless they believe in climate science and they actually appeal to logic that, you know, we don't have a lot of time. We're already maybe past the point of reversal for that polar cap to fully disintegrate over the next, you know, decades or so. When you watch the news and you read the paper where they're following the clown show in the Justice Department, we all agree. I'm not asking for your opinion, but most of us agree Trump's got to go. But even if they get rid of them, this stuff is still going to be going on. And it's, and more of it's going to go on because Trump is such a distraction. Right. And that's, yeah, I mean, exactly that. I think this story might that, you know, what we put out today at alternate might get kind of buried because there's every day at 5 p.m. at Eastern time, it seems like there is a huge bombshell that drops and there might be another one at 8 p.m. about, you know, the Trump Russia investigation. So, yeah, I mean, they can under behind the scenes almost they're doing probably doing a lot of this work now. You know, who knows if Trump gets actually gets impeached, which I remain skeptical about just because of the, you know, the rhetoric is one thing that actions are another thing for people in Congress. But say he does get impeached. I mean, I don't know how many other top officials are going to have to leave technically probably not many, although I do think a lot of the transition team, including Pence could be deeply involved in this and might be implicated in a big way. So I'm waiting, you know, I'm waiting to hear about Pence that he might be kind of the last person to fall from this. But the point is, you know, there, I don't know if, you know, Scott Pruitt's going to, I mean, he'll probably still lead the EPA. Perry probably won't, won't have to leave the Department of Energy, things like this. So they're going to continue doing what they want to do. And unless people in Congress find the goodwill to actually address this kind of catastrophe that's happening to our planet, you know, nothing's going to change until people, you know, they get out of office. A catastrophe to our planet, a catastrophe to our drinking water, to our farm workers, the pesticides, it is pretty incredible.  If you take the tea out of Koch and you were a Koch brother, what would you be thinking right now about the impeachment? Would you be scared that we're going to lose our guy, or would this be something that kind of pleases you? Well, the thing is, I mean, first of all, they're going to be powerful long beyond Trump, whether he's impeached or not, and removed from office or not, because they have a political network that rivals the entire Republican Party. And as you can see from the healthcare negotiations, I mean, the Freedom Caucus, which is generally the people that the Kochs favor the most, was very powerful and kind of got their way to some degree with their horrible healthcare bill, which is not going to pass the Senate in my estimation. But yeah, I mean, the Kochs, first of all, Mike Pence is one of the Koch's favorite politicians. I mean, they put a lot of money into his congressional and gubernatorial campaigns. He is a 100% free market guy just like they want. So they actually, I think early in the kind of presidential field before everyone had announced they were running for the 2016, I think they were hoping that Pence would be one of the presidential candidates. But so when they got him an SVP, I think they were very lucky. And if he becomes president, I think they'll be much happier than if Trump is president. I mean, the Kochs haven't overtly supported Trump, although they did run ads, their nonprofit groups ran ads against Democratic senators in swing states that were very critical of Hillary Clinton. So I think that must have helped to some degree help Trump's chances. Before you go, I just want to bring it back to Rick Perry. You write that he was a board member of the Energy Transfer Partners. Who are they? And here's a story that's being buried. Who are they? Yeah, they're they're the co-owner of the Dakota Access Pipeline, which, you know, many water protectors and Native Americans and allies protested against for months last year and successfully got it delayed. But once Trump got in office in January, it was one of the first things he did, I believe, was to give the green light to that pipeline, which is going directly through native lands. Potential leaks could be catastrophic to to the people living in those areas. And it's it's transporting really dirty, the dirtiest tar sand oil you can find through the entire country down to, I think, a refinery on the Gulf Coast. So the fact that Rick Perry was until recently a board member of that company might be perhaps the best signal we've got as to what its priorities are. And that was the big story. And it's now it's just going to happen, right? And nothing can be done about it. I that I think so.  But I mean, so far, I think I think once the president okays it, it's going to happen. Energy Transfer Partners is a big company. They have a lot of political influence. Kelsey Warren is their CEO. He's a big independent donor as well.  But as by himself and not with this company, he's very well known as giving millions of dollars to super PACs and things like that. So yeah, I think it's probably going to happen.  I'm getting I'm getting a call here. Our time is up. The Excel pipeline, what's happening with that? I mean, Trump also greenlit that one. So, you know, I think a lot of it's already built. So I believe they're going to continue and finish it. And that'll also, you know, that does a similar thing to the access pipeline. So it's going to be, you know, a couple pretty dangerous pipelines going through our entire country. And we have as head of the State Department, Rex Tillerson, who ran Exxon, and these kind of pipelines, I didn't know this until Obama was president, you can't build a pipeline unless it's approved by the State Department is the purview of the State Department to determine whether or not the Keystone pipeline will will be good for the environment or not and good for international relations because they go through various countries. Is that why is that one of the reasons Trump put Rex Tillerson or I call him Rex Spillerson as the head of state because he knew that Rex Tillerson would approve all these pipelines. That's probably about, yeah. I mean, I'm sure that's back into the decision. I mean, Trump, I Trump had a lot of advising from that very conservative heritage foundation. And they put out actually a blueprint budget proposal for for Paris agency. And basically, I mean, I read through the whole thing, there wasn't a solar energy when renewable energy was not mentioned once. I mean, it was completely fossil fuel energy specific. So they wanted to zero out any funding for renewables. So the point is they were heavily involved in the transition team and picking nominees and certainly Rex Tillerson, in my estimation, would greenlight both of these very happily. I mean, he literally worked 40 years at Exxon. He was CEO for 11 of those years until becoming Secretary of State. So I think it's pretty obvious where his interests lie. And they're headquartered in Texas. Yeah. Yeah, Exxonmobil's headquartered in Texas, along with a couple other major oil companies, Canoko Phillips and Valero Energy. Texas is known as really the oil state and definitely the natural gas state. And so, you know, Perry, I would imagine has a good relationship with with Tillerson. I know that the Rockefeller family divested themselves of Exxonmobil stock for reasons we don't need to go into right now. But it involves climate change. I did believe that Rex Tillerson and Exxon getting honest, they did have a minor come to Jesus moment about climate change. Didn't they acknowledge that it is man made? I think probably recently, I don't know, I'm guessing, I don't know for a fact, but I'm guessing it was probably after Inside Climate News broke the major store that they had known about climate change since the 70s and covered it up. So whether or not it was before or after, I don't know. But, you know, clearly after that, they have to say something publicly about it. They can't, they can't deny it too much longer. But it doesn't mean they're really going to change their practice as much. Right. So in conclusion, while we're paying attention to the possible impeachment of Donald Trump, the Keystone Pipeline is going through. The Dakota Access Pipeline is going through. They are denuding the energy department and the EPA of all or most or a lot of our environmental protections. Are the state attorney generals pursuing their lawsuit against Exxonmobil? Where is that? That's an unfair question to ask you. That's not why I called. Yeah, actually, that was one of the things that Pruitt copied and pasted when he was Attorney General of Oklahoma. He was... Yeah, I mean, well, what I do know is that if you're referring to the suit again, well, one of the many suits against the EPA that Scott Pruitt and many other Attorney General were part of, I remember recently reading that Pruitt would not, he would not recuse himself from it. He's staying in the lawsuit, suing his own agency now. It's pretty astounding. Well, thank you for your time. Alex Koch, that's KOTCH, writes for Alternate. He's an investigative journalist. You can follow him over at Twitter. It's at Alex Koch or go to AlexKoch.com. Thank you for your important work. Thank you for reminding us of what's really happening, but there are more important things going on than the shiny object of Trump's supposed impeachment. Thank you, Alex. Well, thank you very much for having me. That was great.


Hey folks, so I guess I'll start with the session. This is my very first Qtcon talk, and so I welcome you to my first talk and very chilly evening, I must say. So we'll be talking about the positive sides of binding parts which is also a toolkit for app life cycle. Now, initially this was a do or talk, but it got converted into single because Adam couldn't make it due to some reasons which are out of his hand. So let me just quickly tell me about myself here. So I am a Kubernetes and Cloud native associate that is KCNA certified. I'm a captain contributor also and open source developer. I have worked as a program manager in CMA software and as a junior developer evangelist in Mariko. I love taking part in communities and attending events, any technical events, and also I believe in power of collaboration. As for the introduction of Adam, Adam is a developer at Dynatrace. So Captain is a project which is by Dynatrace, and he's again a captain contributor, and also an open source advocate. So these are our socials, Twitter and LinkedIn, in case you want to have chat around this session or anything around DevOps, I would be really happy to have a chat with you. So now moving on to the agenda. So we will start with pending parts. So what are pending parts? Why are they so common in Kubernetes? And all the other areas. Then we'll see how are pending parts beneficial. This is the heart of our talk because not in daily use case or in daily application deployments, you see that pending parts are beneficial for developers. They are always threat to them. But we'll see how can they be beneficial for future developers. Then we'll see the problem indications. When is the right time to get aware of the pending part problem? Let's say there might be a huge threat to your application. So you have to be knowing of what's the error, which is let's say causing the pending of the parts. Then we'll see Captain in the open source tool, and we'll see how we can utilize it in order to make the pending parts more helpful to us. Then we'll see the demo. So I have a partially recorded demo here because initially this talk was of one hour, but at the end moment we have to change it to half an hour. So it was a pretty long demo. I have some half part of it recorded and half part, and then I will continue the live part from the recorded section. And then we'll conclude the session. So let's start with what are pending parts in the first place, right? So pending parts are like there are nothing but incubators but apart that, let's say have been created, but not yet been scheduled to a node, right? So let's say, let me give you a quick example of this. You have an application, right? You have all your YAML configurations written. You have all the files created, all the deployment and all the files are ready for you. You hit the command kubectl apply minus seven in the particular file name. You see that your terminal shows you that the pod is created, but you see that your application is still not running. So then you debug it a lot.  So all these pods which are created but are not scheduled to node and because of whom the application is not running are pending pods. So now why are pending pods? They are like so common in Kubernetes. So we have some overview of some, let's say common errors, which might cause pending pods for our application. So the broader ones are insufficient resources, node and scheduling constraints, networking and image pool delays. So let me quickly brief you about all of these and we'll understand each one of them. So the first one is insufficient resource. Now pods are scheduled to nodes by Kubernetes, according to the resource request. So let's say there is a deployment made by you, there is a resource need which is required by a certain application to make it running, right? And all the pods which are scheduled to nodes are working on that resource request. So a pod will stay pending if it demands like let's say more resource than it has been allocated. And this is the basic let's say example, you have a certain box, let's say you have a glass of water, you can pour the water as much as the glass, till when the glass is filled till top. So this is the perfect case for insufficient resource. You can only deploy to the part where your resource is not exceeding. So this is the perfect example for insufficient resource. So in clusters that are like unprovisioned or no, some experiencing excessive demand, that is the case for insufficient resource. Now I have a YAML configuration here. So if you see that we have a kind pod, we have our container named myGundana and we are using just the locally-built image and we are requesting the CPU of 10,000 MB, right? So this is a whole lot of memory for a simple configuration. Now this is the perfect example for insufficient resources because again, when you go ahead and apply this configuration and you will see that the pod will go in pending state and then when you try to debug the pod, the pod which went in pending, you'll see that the default scheduler is not working and it has failed scheduling. So it says that zero out of two nodes are available. So that is insufficient CPU and we saw that we asked for a whole lot of memory for a single pod. Now moving on to the next point is node or scheduling constraint. So node limitation for pods can indicate which node they let's say want to schedule on. So a pod will stay on pending state. Let's say if it does not have the resource which it needs, right? So this is again a perfect example for node and scheduling constraints. So it needs to have the required resource. Anything which you want to run needs to have some sort of allocations to make it running, right? So in cluster with like wide mix of nodes, there are various capabilities and this can prevent issues. So to handle the error in node or scheduling constraints in Kubernetes, you need to like specify the constraint using node affinity and entity node affinity and that we'll see in the next slide where I have the YAML configuration for this particular error. And then once you have identified the constraint, you can, the pod will meet all the demands and then you can maybe have this pod running. So this is the YAML configuration. This is a quite different one from the previous one because we have node selector terms and required during scheduling and node during execution. So this is a particular use case which we are giving here. But this again will throw an error because again we are not giving the right scheduling information here. So the last one or the let's say the most common error is image pool and like there are various few errors such as crash back loop off and all the others but these are some of the common ones. So in this if let's say, if you're downloading container images from let's say container registry, it takes longer than expected in few configurations and this is where you know that you're having a networking or an image pool delay. So let's say you have your application, you have applied the configuration and then you see that okay the pods are pending and the application is still trying to retrieve the data from the link which you are requesting from. So this has an example for if you see here I have a like a dedicated link for image error and it will not be able to drive all the not required details to break this into the deployment stage. So there are some custom conditions as well and these are like enabled by a captain. So captain lets you like extend the definition of not ready to deploy to a broader set of answers. So let's say just like you can go for deployment doesn't mean that you should obviously or you should always go for deployment. Maybe there are some cases where you need to test few things, right? So now of course the technical narrow considerations like third party systems or infrastructure, they might not be ready but more important is the broader lens. So now you may be technically able to deploy but the bigger question is should you go for such deployment? Perhaps like there are marking campaigns which are happening which cannot be even potentially interrupted. So if you see to the technical side here there are third party systems that are overloaded, no data storages and I had the temporary high failure rate on dependent service. So and then there is a whole lot of different section of which is completely business centric. Like there are no humans ready to support. In there is a very let's say short maintenance window, current ongoing even marketing campaigns in progress, change freezes, too many unsolved tickets, call center too busy or low stock and various others. So the deployment is a promotion page for a new product but when you check the system, right? So you have any of the company they make the development in order to, so that the users of the company can access the page or you can see use the product which has been created by the developers. So but you have like low stocks available there, very low level stocks. So you know that ordering will fail and users will be frustrated but you need to have pre and post checks. So that was all about that section. Now we'll see how our finding parts beneficial and this is the main like section of our talk. So again, there are, I've taken the three broader perspective on this. So first one is predictable scaling. Second is improved observability and then early detection of problems. So we will be quicker on this section because we have a big demo to be displayed here. So first one is predictable scaling. So pending parts like may happen during times of high demand. Let's say there are various or high number of parts being deployed for a single application. There might be resource constraint. You know, a single part might be requesting or let's say all the parts might be requesting resource at the same time and some part might not get the sufficient resource. So you need to make sure that you have a sufficient resource in order to make the deployment beforehand. Now due to Kubernetes ability to like automatically grow your cluster like by adding extra nodes whenever let's say you are making a deployment. So this is like this is a case of rising workload and this can be advantages in some sections. So the auto scaling which aids in like preserving the performance and the ability of the program. Moving on to the next point is improved observability. Now like you may learn more about the behavior of Kubernetes cluster by maybe deploying an observability tool in your deployment or maybe using an observability tool with your application. You'll get all the data, all the matrices and then you can maybe see the future let's say future marks for the project or how it has been behaving in the past or what measures we can take in order to scale it up. So now you can grow your cluster appropriately by using the right observability matrices and log services, let's say the three playlist, right? So for instance like you notice a pattern of parts getting stuck in resource constraint. So this is where observability can help you. Now the last point for this is a little tension of problems. So it's very like common. You can improve if you have the problem with you at very early stage, right? So pending parts could like indicate an issue with your Kubernetes cluster. So part doesn't go to the pending state without any reason, there has to be some error which is causing it to make it fall in the pending state. So like it can be lack of resources. Again, we have had a chat about the lacking resource and like image pull difficulties and whatnot. Now you can stop these problems from like causing your application to go down if you have the right metrics to let's say or if you have that capability to debug the part, right? So now understanding when parts indicate problems is let's say parts stuck in pending state for a long time. It can be a huge problem. Group of parts like there are group of parts which are failing at the same time. This can indicate a huge problem to your deployment. Like you have the same reason for failing even after debugging the part or even after debugging the errors a lot of times. But again, that goes into the let's say the errors. So this can be a problem indication for you. Now they are pending even if you have like all the resources with you, all the conditions are met, but if they are still pending, this can be again a very big problem for your application. So will be how is like open source tooling helping us here in order to let's say make this pending issue or how do we overcome these challenges? So captain does not like only depend on particular GitOps tooling. It works with everything like Argo CD flux, GitLab and whatnot. Now KLT was captain lifecycle toolkit which is now captain itself. So what it does is it emits signal at every stage. So you have Kubernetes events, open telemetry matrices and traces and it ensures your deployments are observable. So there are some available steps like which are applicable to both your workload and applications. So there is a pre-deployment task, like for checking for dependent services, checking if the cluster is ready for deployment or et cetera. Pre-deployment evaluation where you evaluate metrics before your application gets deployed. Post-deployment tasks such as perform any action. So this is properly based on TypeScript. You can perform any action on, maybe your return action on TypeScript. So now there are post-deployment evaluation. So captain helps you to check even before the deployment is made and also after the deployment in order to have that correct scaling of your application. Now the things we talked in the previous slide is pitch rise here. If you see you make the deployment here using kubectl apply minus f and let's say we are deploying the complete application. So there are pre-deployment evaluations which again checks if enough CPUs resources are available. There are workload pre-deployment tasks which checks if entry services, let's say readable or not. And then again the same works for post-deployment tasks and post-deployment evaluations which sends a notification, a Slack notification or something which can be helpful to the company or the folks who are using the application or maybe building the application. Now I'll just start with recorded part of the demo and then I'll continue with the live part. So I'll try to explain what all I have been doing in this video. So yeah, if you see here, I have just started with creating a repository, not a repository directory and I have created a kind cluster here, right? So in order to make like captain work you need to have a cluster, you need to have doc installed in order to make the kind work, right? So what we are doing here is we have like created the kind cluster and I have all the steps here in order to, so that you can also follow along with me and let's say if you are lost in any, let's say a step. So now what we are doing here is we are deploying the Helm charts of captain. So this is basically installing captain into your application which helps you observe or get data out of your application. So I have deployed the KLT charts or the captain here, made an update for the repo and then also created a namespace for captain lifecycle toolkit system. Moving on, after the, let's say, this section is completed, we'll move to, so it takes a little time to make captain work or deploy captain into your application. Now, we'll be creating few configuration files in order to make the complete captain work. So as you see here, we'll create a collector config YAML which has certain configurations, such as the namespace which we just created captain lifecycle toolkit system will be triggered here, we'll be having some open telemetry data URL and then we'll go ahead and apply this configuration. So I have created a file here with the YAML syntax and then I will just go ahead and apply it. So again, we'll create a namespace for local demo namespace in order to demo the application of which we'll be retrieving the data power. I have just done this and applied for the namespace again. Again, we'll do this for a few of the configurations. Now, this is the demo application which we'll be using. So this is a Nginx, we'll be using Nginx here for this demo and you see that we have a namespace here with a captain demo name. So this part is done, now it will take a little time to create this namespace because again, we are going to deploy the complete Nginx controller and also we will see this and we'll visit and check if our application is running or not after this is done. So what we're doing now is I'm checking the namespace for captain, like the demo which I will be working on. So this is the namespace, we see that it is created. Now it is like checking the app version for captain. You see it's currently in the app deploy phase and again, it will take some time to be completed. So I'll just skip that part and you see that it is completed now. So we'll go ahead and check that the captain version is completed and then we'll see the wider version of it. So we have a name of captain demo app version 0.0.1, app name as captain demo app version as already specified, phase is completed. We have pre-deployment status which is succeeded, pre-deployment evaluations which are succeeded and all the post and post deployment evaluations and all the other things are succeeded as well. So we have our version one app deployed here and we'll be checking this by visiting 8080 local host. So again, now we are moving forward with, so this part is, we will be using Dora metrics here in order to collect all the telemetric data and use it for our own benefit. So this is the command that is used for it and then we'll visit this local host metrics part to see all the metrics that are being deployed. So moving on, this is our application, and then this application which we did just deploy and this is our Dora, so this is our Dora metrics part. So this is the metrics which we got from our first deployment. Now moving on. So now we'll not be only using just Dora metrics, we have certain other tools to be used as well such as cert manager, JGAR, and various others. So we are going and deploying with the first tool is cert manager and again, I have skipped the dashboard or the local host part for this one because if I would have covered that, that would be maybe a half an hour long demo. So we are using cert manager here. I have already deployed the cert manager part. We are going for JGAR deployment. Again, we'll create a config file for JGAR. So again, these deployments take a little time. This is the reason I'm having the recorded demo for this section just so that I can cover the complete demo in half an hour. We'll create a namespace for observability, you know, deploying of premises in Grafana and other tools as well in order to get the correct data or know your application in a better way. We have all these things deployed. I'll just skip this part. So we are now deploying the data source, right? So it has a configuration for all the Grafana part. So what you can do is once you have reached this section, right, you can maybe create a dashboard out of using Grafana and Prometheus so that you have, you know, pictorial view of your deployments and data. So we did deploy Grafana here and you can see there are various other tools used in deployment like ODIGAUS, you know, KLT, Captain is there, Glue by Solo and Prometheus and ladies and other tools as well. So the absolute part is deployed. Again, we are, so now what I did here is we had the first version of the application being deployed, right? Now what we are doing is we are changing the version to second part, like we are upgrading a version from one to two in order to like check if our data is retrieved from the application or not and to see if the post deployment check did work or not, right? So we see here that for now I have just changed the 0.0.2 and haven't applied it yet. So I'm waiting for the Prometheus part to get deployed and once this section get deployed I had changed this and applied here for that part. So now again it will take some time to get to the Captain app version and it's in the app deploy state and that was completed. So this was the part for recorded demo. Now I'll continue live from here, okay? So in order to make like the post deployment check like to know if your application is working good after the deployment, you need to have a web book. So I have applied few configurations before the talk. So this you see here is a web book. Like I have created a deployment for Redis, deployment for a web book and various services as well. So when you get the parts, you see that there are few parts created for the names of the web book and the containers are still in the creating phase. But again it would have taken all the time so I did this beforehand. Now all these are created. We see that it is up and running. Now moving on to the, I'll continue the demo part from here. So after this what you have to do is you have to deploy certain configurations again in order to see if the post deployment check is working or not. So for this we again have a separate link working for this part. So I'll quickly go ahead and show you. So if we head towards let's say the link localhost 8084, right? So now we have the web book which we just deployed here. Now you see we have a unique URL here. So this is completely unique to you for your personal deployment. So what we'll do is, yeah. So now we will verify this web book sync in order to check if the post deployment were done or not. So we have to make a captain task definition before making or verifying this. So we have localhost running. Now what we'll do is we'll add a post deployment task. So that is a configuration. Now we can name it anything, right? So what I'll be doing is I'll be heading back to my folder here. So I'm in my demo folder, right? Yep. So let me just quickly create a let's name it as you know, check.yaml, right? So we have, we'll be creating a configuration here now. So this is the configuration. As I said, we have to create a captain task definition which basically sends, you know, it says that the post deployment check did work. So we are sending an event for the captain demo and we basically are just pinging the current URL and this is the web book language we just deployed and it's just an application which is sending captain send event or it will be just sending this message. So we'll go ahead and apply this. So we'll hit cube CTL, check. Yep. Unique ID, sorry. I didn't get, no, no, that is not needed. So what you have to do is you have to just create this file, right? And just go ahead and apply this manifest. So I think it's showing error editing data app, API version not set. Maybe I did mess some API version in the Amazon configuration, let me just check. Okay, so we have an I here, try again. Okay, so it is created. So captain task definition is created now. Again, this is, now we have to make another configuration in order to check if that message was sent or not. So we'll go ahead and deploy another YAML configuration. So we'll name that as check one. So I'll just go ahead, check one dot YAML and I'll again just verify with this configuration. So we have another captain task configuration in here, which basically runs the previous configuration. And again, it is using the captain demo namespace and it just triggers the send event which was previous configuration. And so this is for the version one, right? But remember we have already changed the part to version two. So you can continue with version one as well, but it's beneficial to have the getting started one and this post deployment check demo separately. But since I have version one here and I have already changed to version two, it would likely to go to version two. So I'll just save this and apply it. Yeah, so this is again applied. So now what we'll do is we'll see if the job is created or not. And I hope you are not finding trouble to see the screen. Looking fine. Okay, so again we have to wait for a few minutes in order to make this job up and running. So till then maybe, I will explain you what all we have done in this captain task definition. So what we did is we did create a deploy web of sync out of which we will be making the post deployment check. Then we did go to the local host where we had a unique URL of ours. Then we did verify the web of sync here and we did make two configurations, check one, check two. Check one is sending the message and check two is verifying if that message is sent or not. Now we have this, let's go ahead and check if it's working. So it has completed, you see it was zero out of one, it's one out of one. So we have the job running. Now what we'll do is you remember the app which we deployed in the getting started section. There are a few labels in that now. We have a different set of labels which we'll be using in order to make that app work. So what we'll do is we will go to VI our app. So this is the part I'm talking about. You see labels here. We are using just the Kubernetes derived labels for now, but we'll be using the captain labels now in order to make the pre and post deployment check. So I'm going for the pre, the post deployment check. So I'll go ahead and add this section and I'll replace it from, okay. So as you see in the last line, I have post deployment tasks which is send event which we had in the check one configuration. Now I will go ahead and save it. Okay, so indentation error. Let me just quickly fix it. I think it should work here. I guess demo gods are not with me today, but no worries. We'll try again. Okay, so it's showing indentation error, but I'll just tell you what will happen is you can just go ahead and, since we are very, very less time left, you can just go ahead and check on the web book sync which we did just deploy. Yeah, so this is the URL. So what will happen is you will see a different set of captain send event section error which says that okay, your post deployment check did work. Pre deployment check we have already in the getting started section and this was all about the talk and you have all the, I have like mentioned all the resources here. These are the captain docs. Maybe if you want to join the community, if you want to check out the GitHub, you can go ahead and do this. Also you can scan the QR code. Thank you. Do we have? You did mention about post deployment evaluation. I have a simple question around it. So is there any particular duration for which the post deployment evaluation will run? Like I have seen in a lot of cases, once our pods are deployed, it will show successful but after some sort of time, like two minutes or three minutes, it will get failed. So in that scenario, how will captain will help in that scenario? As long as you have captain deployed into our application, it will- It will do the post evaluation. Yeah. All right. It will like, if you want you can manually take it as well. All right. Can we customize that post evaluation? Yeah. I just mentioned that you can customize your checks by using TypeScript. All right. Thank you. Any other questions? Okay then. I guess this is it. Thank you so much. Thank you so much for being at my first Q-Point talk. Looking forward to network with all you folks.


Welcome back to the power rankings show my name's cam Williams and with some big names falling down last week and losing in the first week of The grass court season with some big changes the power rankings Also a couple of updates to the power rankings that I'll put down in the description below So you kind of can understand because a few people are asking me how these done What are they based on you can read all those down the comments below putting in the comments as well But let's start with number 20 in the power rankings for this week So at number 20 we've got a new player into the power rankings and Mateo Baratini He has made his debut to the power rankings at number 20 after winning in Stuttgart last week Had a very good comeback from injury and beat some good players along the way including Murray to win the title So he comes in at number 20 coming at number 19 three spots lower than last week is Belinda Benchich The reason why Benchich went down is because last week which he played she lost in the quarter-final stage to Kudamatova Now that's not a bad loss We've seen Kudamatova here and there in the power ranks, but unfortunately that was someone ranked lower than her So that means that she goes down the power ranks for this week coming in at number 18 is Jules Teichman one spot higher than last week Teichman didn't play last week, but because Benchich went down she got rewarded for that So she's gone up in the power ranks coming in at number 17 is Cam Norrin again didn't play last week But due to Benchich dropping down on the ranks he got a little reward So he's gone up to number 17 one spot higher than last time and both Teichman and Norri actually playing this week So keep an eye on their results this week if they don't perform they might drop out of the power rankings all together So keep an eye on both of them coming in at number 16 is Pala Madasa She's gone down six spots lower than last week now She didn't play last week But with an adjustment we've made to the power rankings this week from the comments that you guys made over the last few weeks The retirements that she's had this year have now counted as full losses rather than being half losses with this adjustment And having some retirement losses this year she drops down the power rankings to number 16 six spots lower than last week Coming in at number 15 is Jessica Magula She stays at the same spot as she was this time last week didn't play so didn't change her ranking at all Coming in at number 14 is Coco Goff again didn't play last week After making the French open final and stays in the exact same spot as she was this time last week But Goff is playing this week in Germany So we'll see how she does if she has a good week this week She might be able to go a little bit higher in the power rankings and try and break that top 10 Coming in at number 13 is Yannick Sinner four spots lower than last week And just like Badasa with the new adjustments to the rankings He's been penalized dropping down the ranks due to all the retirement losses that he's had this year Including the one that happened at the French open So he's dropped down the rankings to a more accurate number 13 in the rankings coming in number 12 is Andre Rublev didn't play last week He goes at one spot higher just because Sinner dropped down so dramatically He is playing this week though Rublev So keep an eye on his result and whether or not he can stay in that spot coming in at number 11 Is Anissa Mover one spot higher than last week again due to Sinner dropping down in the rankings Now she's not playing this week and she also didn't play last week So don't expect her to move too much over the next week But she could be possibly playing next week So just before Wimbledon the power rankings don't change It's not like the normal rankings where there's no point Power rankings are always going to be changing no matter what happens with the normal ranking system So keep an eye on Anissa Mover going into Wimbledon we'll see how she looks Coming in at number 10 is Kazakina one spot higher than last week again As a result of Sinner dropping down she gets rewarded Didn't play last week but she is playing this week in Germany And has a pretty tough draw so keep an eye on her Because she might be playing some players that are actually in the power rankings currently Over the next couple of rounds Coming in at number nine is a new player, Alexandrovo Now she's rocketed up the rankings from nowhere And by winning last week at the Labema Open Beating players like Sabalenka and Kudamatova along the way That really boosted her ranking So she's into the top 10 of the power rankings After winning that title Coming in at number eight is Stefano Siddi Pass He dropped down three spots lower than last week And that's because he had a poor result in Stuttgart last week He lost to Andy Murray which isn't a bad result If you look at their track record on grass And obviously Andy Murray being a former world number one But because Murray's not featured in the power rankings Losing to someone like Murray who's way below Siddi Pass in the rankings That has affected his ranking So he's dropped down three spots to number eight And he is also playing in Hella this week So we'll keep an eye on Siddi Pass Who's beaten in the top 10 pretty much the entire clay court season for the power ranks The grass court season could be his downfall Coming in at number seven is Kasparud Didn't play last week but is playing this week So keeping an eye on him at Queens Club He goes up one spot higher than last week due to Siddi Pass falling down Coming in at number six is Novak Djokovic again Going up one spot higher because of Siddi Pass dropping in the power ranks He's not playing until Wimbledon So expect Djokovic to stay in that top 10 until at least Wimbledon Coming in at number five again Going up one spot higher is Jabor because Siddi Pass went down Now Jabor didn't play last week She is playing this week though in Germany So keep an eye on Jabor He's a pretty good grass court player as well So she might be able to boost her ranking over the next couple of weeks And during Wimbledon Coming in at number four is Alexander Zverev Same spot as last week He'll be staying in probably in the top 10 of the power rankings for the next few months While he's out with injury Because the only way you can lose in the power ranks Is if you lose to players on tour You're not playing He's going to maintain his ranking And I think he deserves it He's had a really good couple of months before the injury So Alexander Zverev, he comes in at number four Coming in at number three Another player who didn't play last week And won't be playing into Wimbledon Carlos Alcaraz just ahead is Zverev there In the power ranks And again just likes Zverev And some of the other players like Djokovic In the power rankings We won't be seeing them to Wimbledon So expect Alcaraz to be up there until we get to Wimbledon Coming in at number two is Rafa Nadal Of course the same reason Why some of these other players are so high up He didn't play last week And he won't be playing to Wimbledon So keep an eye on Rafa Over the next couple of months After Wimbledon That's when we might see some changes to these guys And of course at the top of the rankings For another week And that is Igor Shriyantek Again not playing until Wimbledon So don't expect her to move much in the next two weeks But she is top of the power rankings She's won the last six events she's played She's on 35 match win streak And she's going to extend that hopefully At Wimbledon in a couple of weeks So Igor Shriyantek She tops the power rankings for another week They have it There are the power rankings for another week And like I said The players that aren't playing the warmup events For Wimbledon are going to stay where they are Because there's no matches that they can actually lose To drop down or win to go up So expect those players that aren't playing the warmup events To stay where they are But there's a lot of changes going around the outside of those players But let me know down in the comments below Who are you most shocked about being in the power rankings And maybe shocked about who's not in the power rankings right now


What's up everybody? Jason here for Jasper's Casebase.com. This is our last and only fill-in. We needed to unlock the last 10 teams and select Baseball pageant number three. We're giving away the 10 teams here with this 2023 prism baseball pack break number six And again first we'll do the break. We randomize the customer names and teams distribute the hits out Then at the end we'll re-randomize the 30 customer names and the top 10 Get a team and they match it up from the list below. So number one gets Cincinnati all the way down to Miami at number 10 So I guess we'll do the break first see what pops out of the pack Then at the end we'll randomize the names and see who gets in there top 10 So let's roll the dice. We got ourselves a Six of the three nine times one two three four five six seven eight nine Nine times nine nine Dennis Donna Robert One two three four five six seven eight nine Brian Crouch out of the German court All right again guys. This is a quick pack photo. So think of what you got. Whoa. Sorry that copy the names twice That's weird. Sorry. That's not what I was supposed to do By the hell did I do that? Hold up hold up That's the first time that's ever happened Sorry about that guys. See I got this list of course with Dennis down to Robert Ronkel. That's you guys right here Let me randomize the teams nine times one two three four five six seven eight Nine it was like Ronkel rock matches up with Kev Marlins down the Mets All right now again, of course, that's what you guys match up right there All right, of course I'll advertise it. We'll really quickly Set my focus for this Obviously, we got a red wave maybe but we're tall and then a brown a buck Leonard homestead I think we might have to be randomized. So we'll do I know it's not gonna be much guys, but Top 10 get a team number 11 gets this homestead buck Leonard. I Think that's a non MLB team, but the starting team Of course, we'll double check that if that is the case that goes to number 11. All right. Now. Let's do the giveaway Cincinnati down to Miami guys. Let's click roll It's a six and a five or five and a six this time guys for 11. Good luck One two three four five six seven eight nine ten 11 11 times So just missing out John G. Gatti so you'll get that homestead card The dentist just squeezing at 10 Nancy Kev Brian Jeremy poor Tanner Steven Brian Chad right and TJ Boyer There you go. Congrats guys The top 10 are in TJ got Cincinnati, Chad with Seattle, Brian Crouch with the Yankees, Stephen with Milwaukee, Tanner with Pittsburgh Jay before the Mets, Brian Crouch with Oakland, Kevin Crouch with San Diego Padres, Nancy with Toronto, and then Dennis with Miami So there you go guys coming up next though is going to be select baseball. Good luck guys