Skip to content

webofmars/labs-falco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Falco

usage

create a scaleway labs cluster

./up.sh

NOTE: as the time of writting there is an issue open for missing latest falco kernel modules for Ubuntu version used by Scaleway. So i switched back to digital ocean for the lab but i'm sure it's a matter of days.

apply manifests

  • Register a webhook endpoint at https://webhook.site/ and edit 3_falco_app.yaml (the created endpoints are only valid a few hours)
cd apps
./setup.sh

grafana / prometheus configuration

kubectl port-forward -n monitoring svc/grafana 8081:80 >/dev/null 2>&1 &
kubectl -n monitoring get secrets grafana -o json | jq -r '.data."admin-password"' | base64 -d
open "http://localhost:8081/"

test it

kubectl port-forward -n falco svc/falco-falcosidekick-ui 8080:2802 >/dev/null 2>&1 &
open "http://localhost:8080/ui/#/"
kubectl -n default run debug --image nginx
kubectl exec -it debug -- bash
mknod /dev/rien c 1 3
exit
kubectl -n default delete pod debug
apt update
apt install cowsay
echo 'Salut !' | /usr/games/cowsay

Alerts will go:

clean everything

./down.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages