Welcome back to the breakfast in Plasti via Africa time for us to check out the front pages of a national deal is we're calling it We call it off the press and as usual we will have Chris one do joining us to make sense of all of the headlines I was set up with a daily independent newspaper this morning. Let's check out the daily independent The banner caption read Don't endanger your political future APC governors won a Tony general of the Federation Talking about the electoral act amendment bill Don't endanger your political future APC governors won a GF To meet Buhari over direct primaries Out of that saga and you have party holds national convention February 2022 Quite interesting away from the board headline You also have we expect Buhari to ascend to electoral act amendment bill Luan is quoted on that Says Nass may pass 2022 budget before Christmas Northern collision once against release of Nnamdi Kano and Another report says scores fear dead as fire raises boat at Potakot jetty Flower meals acquires honey well flower meals Another interesting caption you find this morning and you also have West African examination Cancel releases 2021 Senior secondary certificate examination result increases exam fee by 25% That's also another Caption you find on the daily independent now see looking at it just before we move away Insurance Rick's sanction for violating daily transactions upload That's battle a mead Aim I take that again that battle aimed at strengthening rule of law That's also on the daily independent newspaper. That's the much we can take at this point in time All right away from the daily independent are next there Pull of call is the leadership on these paper making headlines and this morning attacks on Abuja Kaduna Road a national shame says ACF with some writers there are bandits kill four in Katsina 11 rescued in Kaduna Abundant spiritual leader arrested in Niger Insurgents bandits fuel in poverty Another leaders that's according to PPMB. There's a precedent that these are northern leaders lack courage to confront challenges That's a Coalition above the must-head of Just below the must-head rather Exhibitors Hill next in bank impact showing at Durban all the stories making a front page of the leadership newspaper We came to federal government consider all theft us treason fire raises 41 shops at Kanu market a veteran comic actor But busway passes on also making headlines that this morning like raises SSE registration fee by 29 percent APC to elect party offices in February convention was the rider Boone denies a delay in Congress to extend a tenure don't release Kanu northern you to tell Pmb those are the stories you can find on the front page of the leadership newspaper for this morning Away from the leadership newspaper this morning Let's check out the punch on the front page of the punch newspaper the banner caption reads February 2022 APC convention dates shaky crisis persist in 12 states and You find underneath the board caption Governors proposed February to President Buhari for approval says Bagudu. You also have Reavers a kitty or goon or your samphara quara cross river or this affected narrow loser steam slides to 550 55 narrow toward dollar in parallel market now this is what you find Godwin Amifili is quoted on that 11,200 Nigerian women and children raped in 2020 according to a report by the United Nation Capital inflow crashes by 80% and foreign investor Sean Niger in market You also also have another caption saying APC governance clash over direct primaries below Suley exchange words Senate faults smuggled 16 billion our vote into environment Ministries board that that's also another interesting caption on the punch newspaper now she was staying with the punch You have women better to drive peace process says President Muhammad of Bahra She's smiling The reason I'm smiling it reminds me of you know when the president was addressing the issue with high shabari You know It's fine. All right, you also have threats Treats or thefts as treason military and please Involved well, this is some of the stories, but they are more interesting headlines on the punch newspaper this morning That's much we can take at this point in time and the final paper We will be reviewing this morning is the nation these people at the banner headline for this morning Why APC can't hold national convention now? Some writers there a party to conclude congresses in four state Buhari Governors a settle for February Honourable flower mills in 80 billion Naira merger deal Lagos and sauce panel report controversy Rages on the red strip that there is another story absence of Interpreter forces court to put off Igbo host aids Arrangement above the must-have. There are some other interesting stories panel on equal you build in collapse as six Memorandum nollywood veteran Babasui dies at 63 We gay is saying top military police officers are this involved in oil theft Why it lacks or jacks up exam fees to 18 Thousand Naira eighty one point seven percent credit Recorded not some good one 16 billion Naira. He then vote found in environment ministries Budget of the last story there this morning on the red strip Below and both vastly shot down indefinitely or you taller releases 708 a millionaire for Pensioners those are the stars you can find on the front page of the nation newspaper. Let's do stay more than All right, we just head straight to the crux of the martyrs this morning. We do have Chris one do a standby Good morning Chris. Thank you once again for joining us Good morning. Thank you very much for having me. Are you guys are looking so smashy this morning? Thank you so much Chris. Okay, so let's sort of with the daily independent newspaper this morning The boat caption on the daily independence says electoral act amendment bill don't end danger your political feature or APC governors Warning the attorney general of the Federation. Let's share your thoughts on that Well the governor's To me, I'm just playing to the gallery It is the duty of the National Assembly to I'm a little or make laws for the Federation and it is also For the president to ascend to such a lot We are necessary. It's not even we are necessary. It's compulsorily even with the constitution is the president is given a certain period we wish to ascend to The bill a law passed by the National Assembly doesn't they have a right to just Veto the president's Assignment or signatures it's where the electoral Amendment that we passed by boat embass of the National Assembly funny enough those those two chambers are made up of Majority members of the ruling APC so It's not just a bill for a PCC beef or Nigeria is a beef or a PCF guy PDP address of them legislators across party lines Passed that bill so I don't know the problem that the governors have with that deal if Who are the three president of Nigeria answer? Passed that be 360 has all represented members 109 senators Then the governor's order would bet you can it also shows the selfish nature of our leaders because it seems to be a bad meeting status and the governor's the governor's fears that the powers have been taken of them and to a larger stance With the direct primaries they are who'd on the parties Is it shaky because they have those things done in the past within direct primaries to handpicked the people of their choice We are based Instances where senators members of House of Representatives and so many other political Officers don't find a way back to position especially within the National Assembly because they have an issue Yes, we are we are governors So what I just do to just call people there is and just happy who's good to go to see senator who's going to go to the House of Representatives and rest of them They making it if you watch what has been happening within our National Assembly since 1999 We have a very high ton of legislators That is not what is obtainable in other parts of the world if we see in the in the US There are still some Legislators that have been in those houses for over 50 years You know why because the more they come back the more equipped they are the They've honest the You know the intricacies that goes which next lady matters best our senator Governors, you know allowed. Let's just give a class case them from the next story remember what happens in just In 2019 one of the best I will say the best natures in the Senate senator Sunny was refused An opportunity of coming back to this by the governor of cadnastry because he has an issue because of issues the race on the flows of the Senate consigning Governor a required attempt to obtain some lose and because of that that cost him say so But as I said, they are talking to attend the age of not to paradise He's a political creature what they are trying to say is that the age of should advise the president not to sign that It is not a bill of for the APC it is Nigerian bill And if the slatures who are the right people that make laws for Niger, but then all well and good show socially me All right, I'm crazy one do another story that these are you know trending and making headlines across several papers Is the attack on there? Passengers along the Abu Jikiduna road a leadership caption that this way attacks on Abu Jikiduna road a national shame says Arora consultative Forum what are your thoughts concerning that got messy and I indeed where discussing There's just a few minutes ago and we felt that this issue of security is just continuing on a beta Then as though the federal government knows what to do, but they're not seemingly doing what they should do How do you react? It's not a lonely a monumental Shame is the is the shame of the highest order Let's put it in proper perspective A humanitarian candidate For my good my career candidate of the APC is our state was killed in that. Yes. He was good Now also we are just learning that what a nosy mother was also kidnapped and her baby was thrown inside the bush They threw with the baby inside the bush and went away the mother So that is the level at which we have degenerated in this country And when you see people say, oh, are we you just ask yourself? Where is humanity in all this and when the international committees look at some of this is a reason of this things What do you think what they think about us? So the problem is that especially the hadruna abuja has consistently be a Hospital of kidnapping banditry killing and rest of them Which is why most people now prefer the real going through abuja to To Kaduna but even down is no longer safe to remember just a few weeks they go There's actually was also attacks. Yes. So good. So what are we talking about? So it is it is a big indictment on our security agencies and also our leaders and what I feel at a point They were able to pick point some of this But it's a free fall you cannot and when somebody come up to tell us Oh, we are now much safer than we were in 2015 as some of us just continue to laugh because they are not even facing the reality When you start giving instances of a try to measure what's up in 2015 and are you saying that we are more best and safer now? I you know the Several aspects of it. All this is a security is tied down to economy Your economy cannot grow you can have an economy put when you are living in the state of insecurity The president is lying every day going to Paris is going to South Africa trying to Attract investors to Nigeria which company which organization want to invest in the country where you know that doesn't know is security And that is the part of us for me. So the situation with it is very and kaduna Abuja is getting closer who because you cannot see that they have stood at the universe of Abudian was attack recent and lecturers were kidnapped and up to the from University of Apuja That is in the city center. We even we didn't come to us a NDA was attacked The top leader officer was killed. That is NDA military formation. So what are we talking about? So the situation that's it where I think the presidential I don't know what we need to be we have to service this without that going to be a situation doesn't seem to be What we need to What we are lacking is what I call the intelligence factor We are doing more good putting to just on the ground policeman But our secret is to do more of intelligence gadget. That is where countries to win Virtues against the robberies and bandits Okay, let's move away from that now and look at the punch new people Where the Naira seem to have lost a steam and it slides to five hundred and fifty five Naira to a dollar in the parallel market Let's show you a thoughts on that You said he lost his team. Did you ever gather in this team before? Let's stop the civil ourselves. He lost his team. We are not the civil ourselves. It has been a pre-port Irrespective of proper get that set up back at the point where Accusing a particular online platform or being the reason why the Naira was falling and that platform was Decide to just withdraw these activities and rest of them and The problem we have is there to our money to policies. We are not getting a try and secondly our abide independent on foreign and made good as we continue to import will continue to please our Our assets when it comes to foreign currencies and there's nothing about it Or do we continue to produce more and export more that is where we make And even at that if you look at it also what you call look at direct investment for Nigerians and those in diaspora Before they used to remit so much back home. That is no longer happening. So we finally our self-institutional way that we cannot determine We cannot determine the prices or whatever of dollars we can Now the set up back at the point close down some beauty in church Changes that say that they are part of the problem, but others of the problem. It has not some problems So if we say we put it just like MBS coming and students you can say We are the indices is showing that Nigeria is improving economically and rest of them And that does not if you go to the market doesn't change the price of tomatoes It's not in the prices of Beans it has not in the prices of the rice and rest of them Commodities are still on the rise and that is what we find out. That is what is happening. So anybody come to tell me Try to buy a dollar what you haven't seen on the paper. So it's not even right because if you go to get this dollar Now is far far more than we are talking about looking at the paramedic at the rest of the issue Is that we need to find a way of trying to boost our economy so that we can make a sport more and we are just a import dripping country no matter what and the price of Crowd is doing on a daily basis and that to me is a way depends solely on a Commodity, which is a which is a crude oil. We are going to be faced with a shortfall in prices of This product at any given point in time. We have said in time with that number that we should diversify economy Let us look at agriculture. Let us look at areas of mining and rest of them That is a very huge Places we can invest when we're not even talking of tourism Let's bring us back to security. No, but the most countries depend look at Kenya for instance, South Africa They depend mostly on tourism the same thing with Dubai But here nobody's coming here. How will you come to a country where you know that But that you move out of the order Somebody's going to add that they kill inside the order or you move out and somebody kidnap you and start asking for ransom This is just a picture my All right, another story that I'm caught my attention this morning. Is that education actually why? raises SSE registration fee by 29% Crease I just want you to talk concerning that and because in my opinion I don't know if it's the right thing we should be doing or the thing we should be doing right now because most people are actually Complaining about not being able to have their ends met and now we're talking about Increasing the cost of writing exams for our children There are two legs to that story the first is the fact that we had a high record of success That's true. Yes 81% Credits. Yes. Yes with number of students having credits that to me is credible It's a very yes, it's a very good one Then about prices increase the best. Well, I wouldn't be a wire across but we are having you see what is And that is what I'm talking about commodity prices and rest up But in other clients education is key is primary to other Let me tell you for free that in United Kingdom school children especially those in the primary school they go to school free is free Those those things are free. You don't need to pay for them It happens in the United I'm talking of presently now and the same to help us in the UCS and most developed countries. We are paying this service to education in Nigeria and going to take it even the United Nations has a What would I put now a ceiling as to the budget what you have to budget for education just like health every year Are we meeting that? Most of our leaders that we have now most of the leaders that we have they went to primary and secondary school free I'll tell you that for free. Most of them did. I remember what happened during the Between 1979 to about 83 or there about during the Second Republic in the cost a primary second in school We are free. I attended from my primary to second in school input to my university They were after the legacy investing. I never my parents never paid a dime I left the university in 1990 and I'm telling you this this was happened In the second Republic and what am I saying? I said which is why we were able to most people that most parents that could not afford to send to get the children to school Had the opportunity most of those people that you see now as a leader. Are there the national assembly or Ministers are there their parents could not win. We're not able to afford the school Don't forget what our former president said when he say had no shoe. Yeah, we forgotten that and said I had no shoe And he rose up to become impressed over that they have been issued Due to the price we're able to pay school fees. That means they went to a government grant and so He is it's quite unfortunate I personally will not blame wire or it they I'm sure they had over head cost is they're putting into consideration But education should not be seen. This is where we take I think that personally the federal government should come clean on this I'm able to subsidize This fees I don't allow us to do something alone. I don't know whether they're still doing because at a point the regular state government Right from the time of Amponde or Z-Fashion that used to for students in public school in regular state. They were paying their wire Wask and watch it was another one School fees free they're paying free. I don't know whether they still do that But they're not understanding what I think we need to do is that encourage as many children to go to school and government should try as possible to subsidize the prices of this school this examination fees because Without that, that means the most of them cannot get admission into the university Okay, uh, Chris Wando. Let's talk about the ruling party. That's the apc And the fact that you know crisis is still brewing in that particular party 12 states has been mentioned In the punch you see for this morning And you also have that the date for the convention the national convention is still not very set in looking at february 2022 That's against, you know december. Let's share your thoughts on that Well to me the pdp seems to be the forerunner as far as issue of This party crisis is concerned pdp seems to have gotten his hat together And you saw that the national convention with the hat So weeks back where they elected and their national officers and they seem to be moving on What we're not looking forward is how they are going to soon The presidency whether it's going to be to the north or to the south Actually just we had the problem. I call for pdp. But for apc is from one problem channel They are moving from one crisis to another the various local government state state Congresses that it had you had in all practically all the states you have fashions The one that bothered me most is that even in Lagos there were fashions. There were two Congresses that were heading Lagos and at the end of it all now this crisis is still on Now you look at a state like zampara you see the zampara they have three fashions the marafa fashion The current governor's fashion another fashion And then you also talk about cross over states the governor just Ported at we say from pdp to apc they having problem that's professor iadi and some other states river state practically lost apc practically lost the election in 2019 in river state because of internal crisis the same thing happened in so many other other states which are like zampara team And you also have the issue that happened in bias as that where a governor was almost elected under the platform apc Only for the court to just We just went into it for hours before he's done innovation because um handed over to So I I I hope and I believe that the apc would be able to get their ass the best I will tell you for free that this is all about 2023 The crisis you have seen within apc now is towards 2020.  Uh, the major business headline yesterday. I signed some of the mpc meeting Was um, honey. Well, our flower mills are in an 80 billion error Merge a deal are there better days ahead better head Better days ahead, but that in itself also have these challenges because if I just have a monopolistic Economy We just decide the prices of um Of such services for goodness if only when was producing flower and flower being a producing flower Then there will be very healthy competition within the two major Producers we are seeing that happening in cement in the cement now. We are done with this seems to be the only serious the number one um cement producer in Nigeria and when dango did Cuffs every other person catches codes. What he means is that dango this can actually give what happened in time Increase the prices of cement and that he goes like that bohar dua at the point was doing well But I don't work on it. They don't seem to be very well. And I saw many other smaller companies that were also into cement production But that the price of cement is almost as much as 5,000 mile. The good one as I said for Nigeria flower mists are very only one that I think we should also check the caution So that we don't come to point a big elephant in the room And then we cannot be able to do anything with the issue of prices But good one is good that Niger flower mists have been on this for over 40 50 years and they've been doing very well in the area of flower So aquari honey Honeywell is a good one for me probably the honeywell might be having issues You don't know but it's a good one But I hope that will not in itself have fed the prices of flower as it were where we just have one signal People company determine The prices of that product which we use for our bread anyway Everybody is pregnant and cake and rest up. I know my style of cake very well. So yes Yes Well, thank you so much Chris someone do We do appreciate your time with us this morning and we look forward to more of The conversation with you as we actually proceed. All right. So we step on the brakes right now. Thank you so much Have a nice day you too So we take a short breakdown when we return I will bring you what happened today in history. Please stick around


Good morning, good evening, wherever you are. Welcome to this talk about Kubernetes event-driven autoscaling, where I'll show you how you can do application autoscaling, which makes it super simple on Kubernetes. So first, before we dive into it, so my name is Tom Kerkhofer. I'm an Azure architect at a company called Codeit, and I am one of the co-maintenors of CADA, and if you want to reach out to me, you can always find me on GitHub, or you can also ping me on Twitter. We are always open for feedback, so don't hesitate to reach out. So before we get started, let's have a look at how you can autoscale applications on Kubernetes without CADA, so plain old Kubernetes, fresh cluster, how would that work? So if you have a look, imagine we have four deployments, which represents applications. What you would typically do is you use a horizontal auto-scaler, which allows you to scale on CPU and memory. So this works fine in vanilla Kubernetes. Now imagine you want to scale on one or more of these external dependencies at the top of the slide, how would that look like? So over on the Kubernetes side, you would use what's called an external metric, which basically defines these metrics from outside of the cluster. Now before you can use these external metrics, you would need to use a metric adapter. So a metric adapter basically pulls the metric from one of those systems, makes them available for you to automatically scale on. Now there is a caveat, however, you can only use one metric adapter. So if you want to use multiple of these systems, you'll have to choose one and make sure all the metrics are available in that one too. So in this case, imagine you want to autoscale on Prometheus, Kafka, and Azure Monitor. What you could do is then send all metrics from Kafka to Prometheus, send all metrics from Azure Monitor to Prometheus by using a tool like Prometheus. Now all of this is a bit much, and we with Gata figured we can make this a lot simpler so that you don't have to worry about all of this autoscaling infrastructure. So with Gata, we basically have a variety of scalers and secret sources so that you can automatically scale deployments, jobs, or practically anything inside your cluster that has a slash scale super resource. So it could be also a resource from a CRD, from another tool that you're using. Then you just choose one of the 30 or more built-in scalers that we have, or you can build your own, or you can use an external scaler from the community and use your application by using that. Now one of the beauties that we have is you can also optimize for cost and scale all the way down to zero so that your cluster resources are free enough to those that actually need it. Then when Gata sees that there is new work coming in, we will basically scale you from zero to n instances to keep up with this. Security is important, so that's also why we strive to have good authentication, which is simple, reusable, and manageable, and that's why we also allow you to manage that separately from the scaling definition if you want scope to a namespace or scope to the whole cluster, which you will see later on. Today we're very happy to be a sandbox project and we're actually in the process of proposing to become an incubation project. So if you are actually already using Gata, it would be my pleasure to talk to you so that we can convince the CNCF to graduate. Now one of our main mantras is that it allows you to focus on the application and not the scaling internals itself. So we really want to do as much as possible for you so that you don't have to worry about anything. Now if we remove everything again, and we have a look at what it looks like with Gata, basically instead of adding HPAs, what you will do is you will install Gata in your cluster. It has all the scalers out of the box, you don't have to worry about anything anymore. And then what you do is you deploy scaled objects, or if you're using jobs, the scaled job. The scaled job or object basically defines what you want to scale, when it has to scale, and how far it has to scale. Then for the rest, basically Gata interprets these by using an operator, and then it handles everything for you. So it has a scale controller that basically checks the external dependencies, and then it manages the auto scaling for you, and under the hood it will actually use an HPA as well. So fairly simple, you just install Gata, you create a scaled object or a scaled job, and all the rest is managed for you. No longer need to worry about external metrics, one or more metric adapters, no, we manage it for you. So how does it work under the hood? For us it is very important that we do not reinvent the wheel, so that's why we are extending Kubernetes. So Gata only handles the 0 to 1 and the 1 to 0 scaling. For all the rest, we basically rely on the HPA and serve external metrics, sorry, to the HPA. So we are actually using a metric adapter ourselves, but we make sure that we support all the systems that you need across all the cloud platforms. Now, like I mentioned, we have a lot of these built-in scalars. We also allow you to use add-ons, which are not maintained by us, but maybe by another vendor, another product, or maybe yourself. And we make it super simple to get it installed, either by using Helm or the operator framework. So you can also find this on the operator hub. Now, what scalars do we support? Well, actually, these are just a couple of them, but we basically support all the major cloud vendors and all the major products in the ecosystem. If we are missing some, don't hesitate to open an issue or maybe even contribute the scalars to us, and then you can also autoscale your applications with them. Now, I've mentioned security before a bit. What we want to try to do is that we have as less secrets in the cluster, and that we also reduce the duplication of the secrets. Now, your deployments will have to authenticate to the systems anyway, but we also want you to have the controls to use separation of concern and give an identity to the workload, give an identity to KLAB for autoscaling, so you can manage the permissions differently. You can rotate them, but you don't have to. We don't force you to do it, although it is a best practice, sometimes you can't or it is not the best fit at the time. Now, what we do is we give you the trigger authentication and the cluster trigger authentication CRDs, which basically allow you to reuse the authentication, by either using environment variables on the scale target, Kubernetes secrets, but we also support other secret stores like HashiCorp fold, or if you're on a cloud platform, we support some of their no secret authentication offerings like Azure Managed Identity and AWS Pod Identity. So by using those, you have no secret authentication, nothing to worry about, you simply rely on your cloud provider to manage that. Now, let's have a closer look and show this in action. So what I'll show you here is one of our examples that we have where we will use a dotnet core worker, which is processing an Azure service bus queue, and then we'll basically add auto scaling with data so you can see how easy it is to get started. Now, before we dive into it, I have a service business space here in the Azure portal. You can see that I have one queue, which is called orders at the bottom. And then if we have a look at the access policies, so the different identities in this case, because we will use connection string, you can see that we have an identity for the auto scaler, which is KDA and requires managed permissions. We have one for the portal and the generator, which we just used for the sake of the demo. And then we also have one for the application. So that's the workload that we run, which only has listen permissions. So because we will use the trigger authentication, our application can be scoped to just listen permissions and the auto scaler manage. If we would reuse the same connection string, now our application would require to have more permissions. We will not do this here, but this is just to show that you can separate those. Now, as you can see on this portal, we have no messages on the queue. We have a clean sheet and we will get started. So in here, I have basically one deployment running. As you can see, it is the order processor. It is super simple and it is purely demoware. So if we have a look at the deployment, you will see that we just run the image from GitHub's container registry for KDA core. We mentioned that it is using connection string authentication. If you want to run the same demo with managed identity for Azure, you can just go to the GitHub repo and follow along. But for the sake of the demo, we pass the connection string of the queue and we give it the name of the queue. Then we also have the secret here with the connection string. So if I would go here and say, give me the parts, we will have one instance. And I will watch the logs for that one and just show that it is up and running. So on the bottom right here, I have an order generator to queue some example work. So if I now queue one message, you will see on the left side that it got immediately processed straight away. Now, what we'll do is we'll queue a lot more work. So let's say we will queue 250 orders. So now the generator will start generating the traffic. And on the left, you see that our order processing is slowly processing those messages, but it is not that fast. So in the portal here, you see that it's going way up and it is almost never going down because it is that slow. So this is a perfect case for Kata. So what we'll do is we will break in here, we will clean, and we will just watch the deployments here. Now, if you want to get started with Kata, it's very simple. You can do a help install Kata. Just as simple as this, in this case, we installed it to the Kata system namespace. However, I already did it. So if we just check, you see that it is up and running. And if I do a K get all on the Kata system, we can see that it basically installs the Kata operator and the Kata metrics API server. Okay. If we do a K get CRD, you'll see that we also add some CRDs over here to authenticate. Now, the version that I have installed, it doesn't have the cluster trigger authentication yet. If you would use the latest version, you can do it. Now, what does it look like to get things auto-scaled? So I have another file here, which has a scaled object and the trigger authentication. So let's start with the trigger authentication. So with the trigger authentication, we have the various options to authenticate. In this case, I will refer to Kubernetes secret, which you can see here below. So it has the base 64 encoded connection string, which is not super secure. But for the sake of the demo, we will use this. And we just refer to the secret. We say which key it should use. And then the parameter name. The parameter name is specific to the trigger, the authentication trigger that we want to use, which brings me to the documentation. So if you go to Kata.sh and you want to see which scalers we support, you can basically see the full list already here. And if we go and have a look, you see every single scalar that we have. Okay. If I go to Azure service bus, which is the trigger that we will use, it basically gives you all the information you need. And in our case, we are using the connection authentication parameter for our trigger authentication. So this is what we will use.  So we still have time. Now, if you look at the scaled object, this is basically where we define everything related to the scaling itself. So first, we define what the scale target is. So in this case, we use just the name, which implies that we will scale a deployment. So this is an exact match of the deployment that we have already up and running, picking up those messages. Now, we also define what the maximum replica count is. So basically, we're telling Kata to go all the way to 25. You can also define a minimum replica count. If you want to always have five instances up and running, this is where you can configure this. Now, I left that out because we will use zero, which is the default, meaning if the queue is empty, we will scale down to zero instances. And then it is super simple. So you can have one or more triggers. In this case, we have one trigger, which is of type Azure service bus. We give the name of the queue and say, hey, we want to start scaling if the queue has five messages or more. And in terms of authentication, we just reference our trigger authentication resource that we have in the cluster. So this is just as simple as it is. We have an existing deployment running. We just point to it. We say how many instances we want and when we want to scale. If you add multiple triggers, it will basically start scaling if one of them meets the criteria, which is important. So what I will do now is I will apply that scale object. And as you can see, it adds the scaled object trigger authentication and our secret. So if you would give me the scaled objects, you can also see that it is targeting the deployment, the name of the deployment, maximum 25, and it is ready to scale. And it is actually active. So on the right, you now already see that it is scaling from one to four. And it will start spinning up the pods to process them as we go. So if we now have a look, you'll see it starts slowly picking up the book. And then in the meantime, you see it already went to eight. Now for the trigger authentication, we have the same experience. So you can see all the trigger authentication resources in your cluster. You can also see that we are in this case pointing to a secret and not pod identity, for example. So in terms of the operators, they also have the controls of getting more information as we want. And of course, if you want to have a closer look, you can always use describe to understand what's going on and have more information. In the meantime, if we check, our queue is already empty. So we have basically found out process the whole queue. And if we go back, you see that data already scaled all the way down to zero. So if we do a get pods, there's basically nothing to show here because nothing is up and running. If we now queue back up two messages or 10, sorry, you will see that in a second, Kata will see those messages again, and we'll start scheduling the work again. So this is just as simple as how you can do auto scaling with Kata. You have an existing deployment. You just say how to scale it and how far and then we will handle everything for you. You don't have to worry about HPA, metric it out, et cetera. If you want to, you can see the HPA that we use under the hood. You can also influence the HPA by tweaking it, how it should work. You can see in our documentation what that should look like. So you can also have control there if you have to, but generally we say that you don't have to. So if you're not a Kubernetes expert, you can also do auto scaling fairly easily. Now, if we have a look at the community that we have around Kata, it's growing fairly a lot. So we have more than 3K stars on GitHub and more than 100 contributors from various companies like, of course, the maintainers, but also people like IBM, Shutterstock and other companies. And we do bi-weekly community stand-ups on Tuesday. So if you are interested or have questions or doubts, please make sure to join one of those and we're happy to discuss them. And you can find more information on our website. Now, most importantly, who is using Kata? Is it already mature enough? Do people already trust it? And I'm happy to say yes. We have various products that are relying on Kata to do the auto scaling. For example, Apache Airflow and Astronomers are auto scaling the workflows with Kata. We have serverless tools like Azure Functions and Fission who are relying on Kata to do the application auto scaling. And then we have others like Dapper and Knative that use it as well. But also in terms of end users, we have a growing catalog, including major companies like Alibaba Cloud and Microsoft and also others like KuraLogic and Shadeir Hyperion Roadsworks and others. And we're actually constantly adding more and more of them. Now, if you're interested in why Alibaba Cloud decided to use Kata for all their application auto scaling, you can go to the CNCF blog where we did an article with the kind people from Alibaba Cloud talking about why they chose for Kata and how it helps them do auto scaling very easily. Now, another example was Azure Functions. So I will not dive into the demo here, but it is just as simple as using the Azure Function core tools. You can deploy Azure Functions to Kubernetes and behind the scenes, they are automatically installing Kata for you, creating the scaled object for you. So they are using Kata to manage the auto scaling for their serverless workloads without you even having to worry about it. So if you want to give this ago, it's just as simple as doing these three lines and you are up and running on your Kubernetes cluster automatically scaling those Azure Functions. Now, in terms of roadmap, we are constantly evolving, but one of the major aspects that is missing today is HTTP workloads. HTTP is a little bit harder to scale because all the things that we mentioned before, for example, the queue, you exactly know how much work is on the queue while with HTTP. It is synchronous communication and you don't know how many calls will be there in five minutes, for example. So it is a bit harder. So now we have an alpha version of this up and running on GitHub, basically, where we have an add-on scalar, which you can deploy separately, which is aiming to deliver scale to zero for HTTP without a dependency on Prometheus. And this is fairly important for us because if you are using a cloud vendor, you could also use their telemetry and observability stack. And it's a bit ridiculous to just spin up Prometheus to do autoscaling. So we want you to choose. If you have Prometheus already, you can use Kata today and use the Prometheus scalar. Or if you don't have Prometheus, but you still want to scale HTTP, what you can do is use this add-on. You can deploy it and you can use the new CRD, which is called HTTP Scaled Object, where you basically define what you want to scale. You define the amount of replicas, and then we will basically do all the hard work. We support the day ingress, but we're also planning on supporting Gateway API service meshes by relying on the service mesh interface and service-to-service communication. So if this is important for you, please go and give it a try. Share your feedback and let us know what you think. But we are super focused on this because this is very important. Okay, now how does it work in the current version?  And basically, we'll use core Kata and extend it. So we have a Kata HTTP operator to manage the new CRD. And basically, we use an interceptor between your ingress and your service so that all the traffic goes through the interceptor to measure the traffic, but also to hold the requests. Because if you support scale to zero with HTTP calls, which are synchronous, you have to hold the request until the service has spun up. And then you can forward that request through. But as I mentioned, this is Alpha, where we are very eager to hear what you think and also what the scenarios are that you're looking to solve. And we can work with you to make it better. Now, in terms of what else we are planning to do, so we are constantly adding new scalars and new secret sources to authenticate. For example, at the time of the recording, we're adding Azure Pipelines so you can automatically scale build agents so that if you have a lot of pipelines or builds that are pending, you basically scan out on Kubernetes to serve that build pool, sorry, the build queue, and then you can basically scale as you want. If you have any other needs, we are happy to add them, frankly. We have recently added Kubernetes events to Kata. Now we are also going to add cloud events in case you want to expose them outside of the cluster or integrate with existing tools to gain more insights. We're also working on adding, building a community around the external scalars so that you can also use the great scalars from other people and also making it better to discover them. That's why, for example, we're working with the artifact hub to expose Kata scalars in there as well. So if you today have an external scalar, you can now go to the artifact hub, add a new source, and then it will automatically be listed on artifact hub. And then lastly, we're working on CNCF graduation to incubation, which you can find on GitHub as well. But we are fairly agile where we have a public roadmap, and if we have people who have certain needs that are crucial, then we are happy to work with you and see what we can do. So don't hesitate and open those feature requests. Now if you go back to our Kubernetes cluster to summarize, you can basically use Kata in the whole autoscaling bigger picture of Kubernetes where we have Kata for the application autoscaling so we can scale our app across nodes. But of course, this is not enough. You can still use the cluster autoscaler to basically resize the whole cluster so that your application can even scale further. But at some point, your cluster will be full. Cluster autoscaler will not be able to keep up. And then based on the cloud provider that you use, you can also scale beyond the cluster and overflow the workload. So in this case, if you use an Azure Kubernetes service cluster, you can use virtual nodes to overflow the capacity to Azure container instances for that serverless Kubernetes experience. Now the beauty of Kata is also you can scale down to zero which is also important from a cost perspective because if our orders app goes all the way down to zero, implicitly, you can fully rebalance the cluster. You can get rid of Azure container instances. You can remove one node and you can basically save a lot of resources in your cluster. And with that, I would like to thank you for your time and open up for Q&A and here if you have any questions. Thank you for joining.


And soldiers from the Nigerian Army seized five trucks carrying cement from Adamawa State destined to Cameroon Republic. The trucks were halted in Jabilambar, a suburb of Adamawa State's Gere local government area. Authority suspects today were transporting cement to Cameroon, which is nearby for distribution. At the news conference at ULS Police Headquarters, Honwashi Wanusiko Adamawa State Governor's Chief Press Secretary emphasized the government's displeasure with the affair. The State Security Chief claimed had established a unified task force to carry out the government's orders. We've had issues where items are transported across the border. But then the government decided for building materials, we would not want a situation whereby these building materials are transported out of the country. For obvious reasons, when you do that, the prizes of building materials will definitely shoot up in the state capital, in the state generally. And the people are suffering. So the government came up with a policy that we should not allow anybody, no matter who the person is, to transport building materials outside the country that will further inflict hardship on our people. So the government frowns at this development and has decided that nobody will be spared. You can see behind me that there are trucks that were apprehended and brought here. These items were intercepted by the officers of the Nigerian Army and brought to headquarters. Knowing fully that there is a task force that comprises all of the security agencies. After investigation is conducted, a report was written to the committee and virtually the recommendations were upheld. Now a directive is given that these trucks will be escorted by the security agencies to the destinations where they claim they were taking the items to. And this is within the border, not across the border. So as I'm talking to you now, already officers are meant to be drawn from all the security agencies to make sure that these items are delivered within the border to deliver to the destinations as captured under the invoice. Hello, hope you enjoyed the news. Please do subscribe to our YouTube channel and don't forget to hit the notification button so you get notified about fresh news updates.


I've struggled a lot with what it means to be queer and Christian. Both are parts of my identity and they cannot be separated, even though some other Christians wish they could be. But I know that I am made in the image of God. I am a beautiful and beloved child of God. For every queer kid out there that has heard from their church that they are broken or sinful or defective, hear this. Our God's love is bigger than the boxes we try to contain it with. God loves you exactly as you are and rejoices in the relationships that you celebrate with others. For to know God and love God is to love one another.


Hello friends, welcome to the session, I am Malka. Let's discuss the given question. Verify that A into a joint of A equal to, a joint of A into A equal to determinant of A into I. A exercises 3 and 4. As the given matrix is 2, 3, minus 4, minus 6. Now let's begin with the solution. We have to verify that A into a joint of A equal to a joint of A into A equal to determinant of A into I. And to prove this, we have to first find out a joint of A and a joint of A is the transport of the matrix formed by the co-factors. So first of all we have to find the co-factors of the elements of the given matrix. So our given matrix is, let A equal to matrix 2, 3, minus 4, minus 6. Now we will find the co-factors of the elements of the given matrix. So co-factor of the elements A ij is denoted by A A ij equal to minus 1 to the power i plus j into M ij, where M ij is the minor of the element that is A ij. Now we will write the co-factor of the elements of the matrix A. So co-factor A 11 that is 2 is equal to, is denoted by A 11 equal to minus 1 to the power 1 plus 1 into M 11. And we know that minor of first row and first column that is 2 is obtained by deleting the first row and first column that is M 11 is minus 6. So it will be written as minus 1 to the power 2 into minus 6. It is equal to, now minus 1 to the power 2 is plus 1 into minus 6 is minus 6. Therefore co-factor of 2 is minus 6. Now co-factor of A 12, 3 this is denoted by A 12 equal to minus 1 to the power 1 plus 2 into M 12. Now we have to find M 12. You can see from the matrix that M 12 that is first row and second column. So we have to find the co-factor of 3. So we will delete the first row and second column. So M 12 is minus 4. So we will write minus 1 to the power 3 into minus 4. So this is equal to plus 4. Now we will write the co-factor of 2 1 that is minus 4 is denoted by A 21 equal to minus 1 to the power 2 plus 1 into M 21. Now we have to find minor that is M 21. So we have to find the minor of minus 4. So we will delete the first column and the second row. So it is 3. So therefore we will write this is equal to minus 1 to the power 3 into 3. This is equal to minus 3. Similarly we will write the co-factor of A 22 that is minus 6 equal to A 22 equal to this is denoted by capital A 22 which is equal to minus 1 to the power 2 plus 2 into M 22. Now we find M 22. So this is equal to minus 1 to the power 4. Now minor of minus 6 will be we will delete the second row and second column. So it will be 2. So we get minus 1 into 2. So this is equal to 2. Now therefore matrix formed by the co-factors is A 6 4 minus 3 and the adjoint of A and we know that adjoint of A is the transpose of the matrix formed by the co-factors. So that is minus 6 4 minus 3 to transpose. This is equal to minus 6 4 minus 3. Since we know that in the transpose of the matrix we interchange the rows and columns. So adjoint of A is minus 6 minus 3 4 and 2. Now we will find A into adjoint of A and we know that the matrix A is 2 3 minus 4 minus 6 and adjoint of A is minus 6 minus 3 4 and 2. This is equal to now we multiply both the matrices we get 2 into minus 6 plus 3 into 4 then 2 into minus 3 plus 3 into 2. Similarly for the second row minus 4 into minus 6 plus minus 6 into 4 and minus 4 into minus 3 plus minus 6 into 2. So this is equal to minus 12 plus 12 minus 6 plus 6 plus 24 minus 24 plus 12 and minus 12. So we see that the obtain matrix is 0 0 0 and 0. So this is the value of the multiplication of A into adjoint of A. Now we will find adjoint of A into A. So we know that adjoint of A is minus 6 minus 3 4 2 and the value of the matrix A is 2 3 minus 4 minus 6. Now we will multiply both the matrices and we get minus 12 plus 12 minus 18 plus 18 8 minus 8 12 minus 12. So this is equal to 0 0 0 0. So adjoint of A into A is the matrix 0 0 0 0. Now we will find the determinant of A it is equal to minus 12 plus 12 this is equal to 0. Therefore determinant of A into I equal to 0 into identity matrix that is 1 0 0 1. So this is equal to 0 0 0 0. Now we see that we have to verify that A into adjoint of A equal to adjoint of A into A equal to determinant of A into I. We have already calculated the value of A into adjoint of A adjoint of A into A and determinant of A into I and we see that the values of all the three terms is the matrix 0 0 0 0. Therefore we can say that A into adjoint of A equal to adjoint of A into A equal to determinant of A into I. Hence verify into adjoint of A equal to adjoint of A into A equal to determinant of A into I. So hope you understood the solution and enjoyed the session. Goodbye and take care.


Hey guys, it's MJ and in this video, we're gonna be looking at a probability paradox Okay probability paradox. So it's gonna be this new little series where I look at some interesting probability questions and we try to figure them out as we go along So without further ado, let's let's just get straight into it Let's get straight into it again and the first one that I'm gonna be talking about It's called the million dollar box. So you're on a very strange game show Okay, so you're a little game show and there are two boxes placed before you So let's call this one box one and this one's box two Okay, now box one, it's open. It's open and there's a thousand dollars inside So it's a thousand dollars and it's open and it's guaranteed in box two Well, box two is closed. So you're actually not sure what exactly is inside But the game show host tells you that there is either One million US dollars inside All there's nothing at all Now he doesn't give us the probability of whether it's a million or whether it's zero But what he does is he gives us the following choices. Okay, so we've got choice one We've got choice two and we've got choice three Choice one is that we just take box one Choice two is that we just take box two and choice three is that we take box one and Box two so we take both Now immediately your game theory must be kicking in and me saying oh my gosh, this is The best decision, you know, this is the decision we must be doing because remember these boxes They're closed you can't tamper with them $1,000 open in the one and in the other one it's closed nobody can alter it But it's random between there being a million and they're being zero So this one seems like the best decision, but what happens is the game show host He says something rather interesting and this might change your decision He says that he somehow has the psychic ability and He's always been able to determine whether the box two has the million or whether it has the zero So he's been playing this game for a long time and somehow he always knows What the outcome is gonna be and he says in your case? He says that if you choose just box two He says there's gonna be the one million dollars inside If you choose box one and two he says that box two will contain $0 inside So you look at this and you think well this guy If what he's saying is correct, then we should just choose box two because we're gonna get the million but how Worthy or how you know reliable is this guy's information What he says and this may change your decision again is he says that if I'm wrong I Will give a million dollars to a random person in the audience Okay, so now this is interesting so this guy is pretty sure on his decision So if you trust him You should only choose box two But while you go and you think okay, let me go and choose box two You see box one just sitting there and you think to yourself Well, whether the money is inside or not inside box two Nothing can change that the boxes close. There's no way for him to alter it if I just take box two It's either a million or it's zero But by me taking box one It doesn't influence at all the context of box two so now the question comes down is Do you take box one and box two or do you just use box two? So I'm gonna write it out as a little bit of a probability statement But you can see that we don't actually really matter about the probabilities Why this is a bit of a paradox is because someone is giving us information After the event has occurred which could not possibly affect it, you know retrospectively But are we still prepared to risk a million dollars in that sense? So here we go the probability that Box two is equal to one million Given that you choose Box one as well is Equal to zero According to this guy and the probability that box two is equal to the one million Given that you don't choose you choose only box two is equal to one But the probability that box two Equals one million By itself, you know, it's according to this random Random value or this probability value over here, you know think of it as a percentage So the question that I want to ask you guys is Would you choose box one? Or would you choose box one and two? Let me know in the comment section below and It'll be fairly interesting to see which choices you guys Decide upon I think I think there might be a lot of people who Who might choose box one and box two? Sorry box two only no one would no one would only choose box one That's that's that's like the worst thing to do. Sorry box two Or box one and box two. So yeah, let me know in the comment section below Which one you will do and also let me know if you like this style of video Thinking of making a whole bunch of you know random probability Videos like this just for fun to see how they how they do so hit subscribe hit like if you like this They'll just encourage me to to continue making videos like this Anyway, thanks guys so much for watching and I'll see you next week. I'll probably release these once a week So yeah, I'll see you next week for the next question. Thanks. Cheers