Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Goldilocks Scraper – a scraper for Goldilocks (K8s VPA recommendations)
1 point by sgarland on July 2, 2021 | hide | past | favorite
I really like Goldilocks (https://goldilocks.docs.fairwinds.com/) for pod resource recommendations, but its CLI tool is scoped to a single namespace, and the dashboards don't have any option to export data. If you have a lot of SOAs across a lot of diverse clusters, that's a problem.

So I built this: https://github.com/stephanGarland/goldilocks-scraper

It scrapes each namespace's dashboard, grabs the code blocks with BeautifulSoup, throws them into Pandas, does some math, and dumps recommendations out into a YAML file. You can then take those and put them into your deployment.

Disclaimer: I am not responsible if you use this and break prod. It's a decent baseline, nothing more.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: