Skip to main content

Try Falco on Kubernetes

Deploy Falco

1. Install the Helm Repository

2. Install Falco

3. Verify Falco Pods

Falco pods might take a few seconds to start. Wait until they are ready:
Falco comes with a pre-installed set of rules that alert you upon suspicious behavior.

Trigger a Rule

1. Create a Deployment

2. Trigger a Rule

3. View Falco Logs

You should see a log similar to this:
This is your first Falco event 🦅! The rule that triggered this event is pre-installed in Falco.

Create a Custom Rule

1. Define a Custom Rule

Now let’s create a custom rule to alert when a file is opened for writing in the /etc directory. Create a file named falco_custom_rules_cm.yaml with the following content:

2. Load the Custom Rule into Falco

Falco pods may take a few seconds to restart. Wait until they are ready:

3. Trigger the New Rule

4. Check the Logs

You should see a log like:

Deploy Falcosidekick and Falcosidekick UI

1. Install Falcosidekick

To forward alerts to a custom location or display them in a GUI, install Falcosidekick and its web UI using Helm:

2. Verify Falcosidekick Service

You should see something like:

3. Forward the Falcosidekick UI Port

Then, open your browser and go to http://localhost:2802. The default login is admin / admin.

4. View Events in the UI

Trigger an event again:
You should see the event appear in the Falcosidekick UI.

Cleanup

To remove Falco from your cluster:
Send Logs to Loki Coming Soon