FilterBox & Kubernetes: A Quick Guide

This guide provides essential steps for setting up and managing FilterBox in Kubernetes environments. Learn to install filters, monitor system performance, and view video feeds effectivel

Quick Start Guide

After installing FilterBox, use this guide to interact with FilterBox, filters, and kubernetes environment (commands and process may vary on some edge devices)

Commands & Tips

Once FilterBox is installed via filterbox, use filterbox to install a filter

./filterbox filter install

Follow in-tool prompts to choose a filter and complete any necessary config choices such as choosing a filter and version as well as assigning a video stream url or selecting a sensor

Important Tip: Using filter requires either entering a video feed url in filterbox or to select a video device on the system where you are running FilterBox

Confirm the appropriate resources

Get all pods across all namespaces to identify if the filter pod is running appropriately

kubectl get pods --all-namespaces

Identify the appropriate pod and note the pod name, it will be used in the next step.

Once you confirm the appropriate pod is running, you can tail the logs to ensure that the filter is running appropriately and not spewing errors.

Important Tip: add the tail extension to your kubectl config with Krew

kubectl tail -p filter-blur-jzeq-56bc8f4756-2rp8s

Important Tip: (your pod name will be unique, get that info from your terminal)

Check for all services running to identify the appropriate service to forward

kubectl get services --all-namespaces

Important Tip: Note the svc name, it will be used in the next stage.

Port-Forward to Localhost for Confirmation

Use Port-forwarding from the service for the target filter to localhost

Important Tip: Your service name will be unique

kubectl -n plainsight port-forward svc/filter-blur-jzeq --address 0.0.0.0 8080:8080
http://localhost:8080/video_feed/0

Last updated