Tutorial Highlights & Transcript
00:00 - Beginning of Video
00:23 - What is K3s Microcloud?
01:40 - Components of K3s?
02:21 - Android media hardware to run a 5-node Kubernetes cluster
04:24 - Network architecture including Cloudflare
05:34 - Demo tutorial on using K3s with Grafana and Prometheus
Okay, so we can see here, there are some applications that are already running on this cluster. And we can see these are all distributed across different nodes. So this is the master node, and then we have slave one slave to slave three. Okay. So this cluster has been running for almost 20 days. Now, if you see here, it’s been running for almost 1819 days. Right. So it appears to be running stable. So far, I didn’t see any problems. So some of the workloads, yeah, so there were some restarts and stuff, but then, yeah, so it runs, it’s been stable. So far, all the containers are running, as we can see here. Okay, and then I can show the part where so. So there are a couple of workloads that are just for the demonstration purpose, I have deployed Grafana Prometheus, okay. So this is Grafana. So it’s part of the Prometheus stack that I’ve deployed. So these are the pre predefined dashboards, let’s just try to see if we can get some data out of here. Here, this is the node exporters which are running on each of the nodes. So we can see this is the master node, and there is almost 80% of the memory footprint here. And so if I try to select some slave node, then it’s comparatively lower. So the memory usage is much lower. So there is some room for additional applications that can be deployed here on this cluster. So yeah, so this, this is just the node exporter data here, we can also look at some of the other dashboards quickly. So this is the pod. Okay, so this is just our networking. Pod networking. Yeah. So we can see all the traffic that is flowing through different ports. And things. Yeah, so this is the Maria DB database that’s running here. Okay. Similarly, this is Prometheus, which is running on this cluster right now, as we can see your targets, it appears to be healthy. So far, there are no unhealthy targets. So which, which makes it appear as if it’s running. It’s quite, it’s stable so far, I am not seeing any issues. So yep. And then we have an alert manager and everything deployed here as part of the Kube Prometheus stack. Okay. Another application that I’ve deployed is WordPress, just to demonstrate the capability of this solution, right. It runs a full fledged WordPress website, okay. With the Maria DB as the database, okay. And we can see this is actually running in production. Yep. And we can Yeah, this is just a sample deployment right now. I similarly, this is another application that I’ve deployed. It’s called Google. It’s like a cleaner version of Google. So we can use this. We can Google something here, and then it’s going to give us the response. Okay. Yeah.
10:16 - Using KubeSail to remotely manage a Kubernetes cluster
For example, these are templates which are offered out of the box. So it’s a one click deployment. So we just need to select one of the applications. Let’s say I want to deploy a Minecraft server Minecraft server, right? You can just click on this and then we can deploy it directly from here. Okay, so I won’t deploy it right now because it’s going to take some time, but I just wanted to show how this works, okay. So, these are some official templates which are available, we can just and this can be this specific solution. KubeSail can be used for any cluster. It may not be a self hosted cluster, it can be used for Eks as well. So there are no constraints on that. We can use this for any platform out there, as long as it’s Kubernetes
DevOps Team Lead
Mayur is a Team Lead, DevOps on the Falcon team at nClouds and an AWS Certified Solutions Architect - Associate and Certified Kubernetes Security Specialist.