From the course: Kubernetes: Microservices (2018)
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Logging with Fluentd - Kubernetes Tutorial
From the course: Kubernetes: Microservices (2018)
Logging with Fluentd
- [Instructor] Let's take a look at logging from our application. To do this, we'll use the EFK stack which is elastic search, fluent D, and Kibana. We're going to run this is the minikube. Typically, you'd install the EFK stack on your own Kubernetes instance, but minikube gives this to us as an add on. As we can see in the minikube's add-on list we have EFK that starts off as disabled. So let's go to our terminal. Minikube add ons list. So I've enabled this by default. I'm going to start up minikube by doing a minikube start. However, I want to pass some additional parameters here. The ELK stack, or the EFK stack, ends up taking a lot of resources, so we want to pump up minikube with additional CPU and memory. It's recommended that you use at least four gigs, but I'm going to crank this up real high. And I'm going to use 16 gigs instead. And I'll use 4 CPUs. And I will wait for minikube to start up the cluster. And then we can take a look to see what it's doing. All right, our…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.