Image for post
Image for post
Photo by CJ Dayrit on Unsplash

If you need to cleanup your namespace resources based on a prefix and don’t want to do it manually, then this script I wrote is for you.

Note that this assumes you use a naming convention for your resources.

This will iterate through resources, in the right order ( as tested so far… ) to delete everything starting with that prefix.

This simple experiment shows how to pull data from and display it in custom dashboards in datastudio, tailored to your needs, like so:

Image for post
Image for post

Here’s a breakdown of what we’ll use:

The setup would look something like this:

Image for post
Image for post

In this example I’ll provide the docker compose for nvd-scrapper and bigquery-job. The transition to GitLab or GitHub shouldn’t be that difficult but it’s not the scope of this piece. …


Cristian Glavan

DevOps Engineer @ — Full-Stack Web Developer — Creative— Martial Artist — Curious — Lateral Thinking

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store