RSSAmplifier

Blog

Let's give it a shot

Blog about DevOps, Kubernetes, and coding.

lepape.meRSS feed ↗37 posts

Latest posts

Speed up Kubernetes deployments with startup probes

Use Kubernetes startup probes to check aggressively during startup, without hammering your application with readiness and liveness probes forever.

The Cloudflare WAF rule I use to block bots probing my site

A single Cloudflare WAF custom rule that blocks the noisy automated scanners constantly probing for .env, .git, wp-admin, .tfstate, and other juicy paths. Copy it and tune it to your needs

How to Add PostHog Analytics to Astro

Add PostHog analytics to Astro without dragging down page speed: start with the basic script, then move it off the main thread with Partytown.

How to visualize Cloudflare D1 data in Grafana with the Infinity plugin

Use Grafana's Infinity data source to query Cloudflare D1 over HTTP, parse the JSON response, and build dashboards without writing a custom connector.

My new programming language is English

In the agentic era, English became my main programming language for most software work. Not because code quality matters less, but because guardrails and standards matter more.

I wanted the best GitHub notifications in Slack, so I built it 😎

GitHub notifications are noisy where they should be quiet and silent where they should be loud. I built GitNotifier to prioritize human signal, reduce Slack channel spam, and let developers act on PRs directly from Slack.

Stop committing with the wrong email: Multiple Git Configs for GitHub

How to commit with different emails/SSH keys on Github depending of the folder you are in and sign your commits automatically.

Stop using "GitOps" to sell your products

GitOps isn't just deploying infrastructure from Git.

How to increase AWS ELB keep-alive timeout when deployed from Traefik

Let's see together how to change the Load balancer settings when created from an ingress controller like Traefik on Kubernetes.

NodeJS Best Practices: Redacting Secrets from Your Pino Logs

Learn to mitigate potential security issues by redacting sensitive data (like user credentials or secrets) from your logs using Pino logger for Node.js. Consider this a crucial part of your logging strategy.

About the Kubernetes Cluster Autoscaler configuration and saving cost

Cluster with under-utilized nodes was not able to downscale.

Good bye sleep() and delay() with NodeJS, hello setTimeout()

Stop to use home-made utilities sleep() and delay(), and use the native nodeJS timers API: setTimeout()

How to use OpenTelemetry to expose custom Prometheus metrics from nodeJS applications

OpenTelemetry? For NodeJS? Let's dive together on how to feed our data to a Prometheus gauge.

How to stream big JSON files with low-memory footprint in Node.js

Ever had the case where an application only needs a few MB of RAM the whole week, but on reading data it needs way more memory for a few seconds to load a big file in memory? This might be for you ;)

How to debug RDS database from a Kubernetes cluster

When you need to debug a database on a private network, it might get complicated to access it. Let's see how we can achieve this with Kubernetes tooling.

Sending slack notifications with github actions

A simple beautiful slack notification sent from Github Actions

How to add a MySQL Planetscale database as a grafana cloud datasource

If you have data on Planetscale, here is how you can connect it to your grafana dashboard

Native logging for your NPM package

When developing or using a NPM package, it is useful to enable logs only when needed and create quality logging for you & your users.

Traefik High-Availability HTTPS wildcard certificate with Cert-Manager

How to get high-availability HTTPS for all applications in a kubernetes cluster under one wildcard certificate, and deployed with FluxCD.

Post-mortem: 1h30 downtime on a Saturday morning

How 4 YAML lines brought down 3 APIs.

Local kubernetes cluster with ingress

A script to automatically start a local Kind k8s cluster with ingress endpoint without having to deal with /etc/hosts

Troubleshoot suspiciously big docker images

How to kick out unwanted files & packages from your docker image

Checking if a Firewall is ready before starting an application

a Kubernetes InitContainer Use-case

Simple docker-compose continuous deployment 🚀

A simple continuous deployment using docker-compose, bitbucket pipeline, docker hub and one bash script

Hosting images on Google Drive

Sharing links in Google drive is not a way to host your images. Or is it?

How to clean your commits with Git rebase

When the PR comes, we all regrets these 'fix 1', 'fix 2', 'save', 'changes', etc.

Limit docker logs size

Docker will keep all logs of your containers and that's maybe not what you want

CKA feedbacks

I passed the Certified Kubernetes Administrator exam, here are my advises

Should I put this value in the .env?

How to decide whether a value belongs in an .env file, a config file, or directly in your application code.

Fix mac connection problems with free wifi

Could not connect to free wifi with my mac, found a quick fix

No more passwords

Stop using passwords and switch to SSH keys when you can.

Faster searches with Firefox

How to reduce time to search information with Firefox.

Check SSH connections

Looping through SSH hosts to check if I can connect to the servers.

Be alerted if your account is compromised

With a 15 secondes step you can easily increase the security of your accounts.

Welcome quotes in terminal

Doing stupid mistakes pushed me to write down some key sentences, and print them as a welcome message was a great idea!

Protect your accounts with 2 Factors authentication

How to make sure someone getting my passwords cannot get access to the account even though? Secure sensitive account such e-mails, bank, social networks with 2-factor authentication, using authenticator application!

Internet self-defense guide

After talking with friends and family, I realized that a lot of them were not aware of some facts with the Internet, so let’s take a look at 7 basics in 7 minutes.