How to Install Fairwinds Insights

Fairwinds Insights can help you discover potential security, efficiency, and reliability issues with your Kubernetes configuration at each point in the development process. Get an overview of the three ways to connect with Fairwinds Insights including Continuous Integration, the Admission Controller and the In-Cluster Agent.



Hey everyone, so I want to give you a quick intro in how to install Insights in your cluster. So assuming you've already created an organization within the UI, the first thing you're going to want to do is click on clusters and then find a button that says, add cluster. From here, we can create a new cluster. And what this is going to do is create an endpoint for us to send data to the platform.

So now that we've created the cluster within the insights UI, it's going to give us a bunch of options. Insights is a platform that allows a lot of different plugins to share data with it. And these plugins are going to cover things like cost, security, policy and governance, upgrades, or configuration. So depending on what you're interested in, you're probably going to want to pick one or two of those plugins or more, and just get them installed, that way they can start to scan your cluster and upload data to the platform, so you can see it all centralized in one place and do all the various things that create geo tickets, Slack alerts, set up policies for governance, whatever it might be.

So at this point, we've got the cluster created in the UI. Let's say we want to install Polaris and we want to install Nova. Now what this is going to do is it's not actually going to install it. It's just going to generate a helm chart for us. And so if we look here, it's generated the values for the helm chart rather, and we're going to start by taking this values.yaml file, which has our token to allow us to authenticate to the platform. And it's also going to show us that Nova and Polaris are the two things that we want to enable.

So if we come over here into our command line, we can go ahead and paste this in, our values.yaml file. Then we can grab the command to go ahead and install Insights. So while we are doing that, one thing to point out is that the install hub, there's a lot of things that are going to need configuration. Some of them are simple like Nova and Polaris. You can just switch it to enabled equals true, and it's going to install it and you probably won't run into any issues.

Some of these are going to require a little more installation. If we think about Trivy, for example. Trivy is going to scan for vulnerabilities in our containers. Now, if we have containers that reside in a private repo, say an AWS or GCP, Trivy is going to need permissions to access those. So what we're going to need to do is we're going to need to give it permissions. And this is something where we can build out the values.yaml file. There's a lot of different flags and settings that we can do, but we probably should expect a little bit of work for these plugins to get them going once they're tailored to our custom needs.

So at this point, let's get the pods in the insight agent name space. We can see that everything is installed. And if we look a little bit closer, it has set up a bunch of [inaudible 00:03:15] jobs for Nova and Polaris. So now every hour on the third minute, and on the hour, it's going to do a scan of the cluster. It's going to send that information back to the platform, and then we'll start to see that show up as action items over here. Hope that was helpful.