ZedTuX 0n R00t

Je travaille pour la plus grand entreprise du monde: L'open source.

Stream command output from a Chef recipe

In this article I will show you how to see, in real-time, a command output from a Chef recipe. Executing a command, the chef way As a command example, as I’m working with it right now, let’s take...

Transmettre les mises à jour des tâches Sidekiq via ActionCable

Dans cet article je vous explique comment j’ai implémenté la mise à jour de l’affichage des tâches Sidekiq en temps réel dans mon application web. Je suis actuellement en train de développer Commi...

ActiveRecord Migration UI gem

Something that is painful to me with Rails is when doing a git pull on a branch with new migration scripts, and getting this error page: This is nice, you know there are migration scripts to be ...

Tester rapidement la connexion à une WebSocket

Une petite note pour moi, lorsqu’il faut vérifier une connexion à un serveur de WebSocket, aller sur le site, puis dans la console du navigateur y entrer : La connexion s’établie tout de suite, ...

jessie-updates 404 avec une image Docker

Dans le cas où votre Dockerfile utilise une image source qui utilises une ancienne version de Debian (par exemple ruby:2.2.8-slim) et que le nettoyage des dépôts est fait, vous vous retrouvez avec ...

Nginx + LetsEncrypt + redirection SSL

Dans cet article je vais expliquer comment mettre à jour les fichiers de configuration afin que LetsEncrypt puisse mettre à jour vos certificats dans le cas où vous avez une redirection HTTP vers H...

Use your DigitalOcean Kubernetes cluster with Gitlab CI

In this short article I’m explaining how to integrate an existing DigitalOcean Kubernetes cluster with Gitlab CI. Gitlab team has implemented the awesome Auto DevOps feature which leverage Kuberne...

Build a Kubernetes volume using local nodes disks

Given you are building a CI/CD Kubernetes cluster and you need some Persistent Volume, using a cloud storage sounds too expensive especially when you have 150Gb of local disks across your nodes. I...

Create a DigitalOcean volume from Kubernetes

In the case you’re using the DigitalOcean Kubernetes, you can create DigitalOcean Volumes (no for free) with this simple YAML :

Pull a Docker image from a private Gitlab registry from a Kubernetes pod

You may face a permission issue when deploying a Pod to your Kubernetes cluster which refers to a Docker image hosted in a private Docker registry, and we will see how to deal with that in this blo...