
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
gitlab.com/gitlab-com/gl-infra/gke-notifications
This is a small cloud function that listens on a pubsub topic for messages from a GKE cluster indiciating a manual or automatic upgrade has been initiated. The function then writes an annotation into Grafana with specific tags allowing you to easily determine when GKE upgrades have taken place when looking at metrics in Grafana.
You need to setup a pubsub topic in the same GCP project as the GKE cluster in question, then you need to follow the instructions at https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-upgrade-notifications in order to have the cluster send upgrade notifications to the topic.
You can deploy this cloud function by referencing the source code which is automatically uploaded to
gs://gitlab-gke-notifications-function/gke-notifications.zip
You will need to make sure your cloud function has the following environment variables set
ENVIRONMENT
: The environment of the cluster (set as a tag on the annotation)GRAFANA_URL
: the URL to the Grafana instance that you are writing annotations toGRAFANA_API_KEY
: The API key used to authenticate to the Grafana instanceFAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.