LxdMosaic icon indicating copy to clipboard operation
LxdMosaic copied to clipboard

Lxdex

Open turtle0x1 opened this issue 3 years ago • 0 comments

The first public LXD indexer? Maybe if we ignore general purpose JSON indexers :partying_face:

When you have have more than 2 or 3 LXD hosts searching becomes slow because to search "fully" you have to hit multiple endpoints. This branch add supports for a multistage process to create a searchable index that should be snappy to search.

There is still quite a bit todo;

  • [ ] Filter search results based on user access
  • [ ] Scale test (beyond copying the array)
  • [ ] Grab more paramaters
  • [ ] Stop assuming user.user-data is YAML
  • [ ] Concurrency on cache builder
  • [ ] Document how it works
  • [ ] Get scripts into cron jobs
  • [ ] Adding settings to disable / enable / configure search
    • Scanning 30+ hosts to recursion level 2 every 5 mins probably isn't a good idea

Example search for "ubuntu run" (as in to mean, showing instances in Running state with a ubuntu image) lxdex

turtle0x1 avatar May 15 '22 13:05 turtle0x1