Skip to content

luigieai/kubefs

 
 

Repository files navigation

Kubefs

This project is intended to manage files on a Kubernetes node. It is cloud native and built to run in Kubernetes but can run on a linux VM outside of Kubernetes.

Original Use Case

Depending on the IP Camera and the sensitivity level, the motion detection alarm can generate a lot irrelevent captures, making it difficult to identify the false positives from the true positives.

This project is built to manage images generated from motion detection alarm of an IP-Camera(s).

CLI

  • Serve - serves the webserver
  • port - port from which to serve
  • cert - server ceritifcate
  • key - server private key
  • dir - image directory

Functionalities

  • Deletion logic
    • Delete images more than X days old
    • Delete images captured between Date/Time and Date/Time
    • Retain max size of X in directory
      • delete oldest first
    • Retain X number of files
      • delete oldest first
  • View Logic
    • View images by day
    • View images by day and time
    • View files by camera
    • View files by camera, day, and time
    • View files from given camera on given date
  • Backup Logic
    • Backup files for X days, then delete

Components

  • Frontend (React)
  • Backend (Go 1.19)
    • CLI

About

Kubernetes filesystem controller.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%